🧑‍💻 CLI default to error level logging - down from fatal (and small reminder)

This commit is contained in:
Eric Doughty-Papassideris
2024-03-28 02:04:58 +01:00
committed by ericlinagora
parent ab1c97507c
commit 1aed73c16d
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ yargs
.usage("Usage: $0 <command> [options]")
.middleware([
argv => {
logger.level = argv.verbose ? "debug" : "fatal";
logger.level = argv.verbose ? "debug" : "error";
if (!argv.quietConfigSummary) {
console.error("Platform configuration:");
printConfigSummary().forEach(x => console.error(`\t${x}`));
@@ -6,6 +6,7 @@ import gr from "../../services/global-resolver";
import type { TdrivePlatform } from "../../core/platform/platform";
//TODO: When this gets used for all commands; update verboseDuringRun from search/index-all and move to root index
// And consider moving print-config-summary call here.
/**
* Start the platform and its services, run the command (passed as