From b56793e627b0d4c72db471faad87c406bb615b63 Mon Sep 17 00:00:00 2001 From: Marco Hutter Date: Fri, 15 Sep 2023 17:33:25 +0200 Subject: [PATCH] Fix default log levels --- src/logging/Loggers.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/logging/Loggers.ts b/src/logging/Loggers.ts index 66e0cd69..54cae246 100644 --- a/src/logging/Loggers.ts +++ b/src/logging/Loggers.ts @@ -32,9 +32,13 @@ export class Loggers { prettyPrint?: boolean, logFilePath?: string ): Logger { - const consoleLogLevel = "info"; + // The default log level for the logger itself, which determines + // up to which level messages will be sent to the targets. + const globalLogLevel = "info"; + + // The log levels for the individual targets. + const consoleLogLevel = "trace"; const fileLogLevel = "trace"; - const globalLogLevel = "trace"; const transportTargetOptionsList: TransportTargetOptions[] = [];