diff --git a/tdrive/backend/node/src/cli/index.ts b/tdrive/backend/node/src/cli/index.ts index 78003a52..f96049a3 100644 --- a/tdrive/backend/node/src/cli/index.ts +++ b/tdrive/backend/node/src/cli/index.ts @@ -10,7 +10,7 @@ yargs .usage("Usage: $0 [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}`)); diff --git a/tdrive/backend/node/src/cli/lib/run-with-platform.ts b/tdrive/backend/node/src/cli/lib/run-with-platform.ts index 8b02bb37..b26e6b43 100644 --- a/tdrive/backend/node/src/cli/lib/run-with-platform.ts +++ b/tdrive/backend/node/src/cli/lib/run-with-platform.ts @@ -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