From f5e57b3319896aa40eb169912428ab55aba2c042 Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Sun, 11 Dec 2022 14:30:30 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BE=D0=BD=D1=81=D0=BE=D0=BB=D1=8C?= =?UTF-8?q?=D0=BD=D1=8B=D0=B9=20=D0=BB=D0=BE=D0=B3=20=D0=B2=D0=BA=D0=BB?= =?UTF-8?q?=D1=8E=D1=87=D0=B5=D0=BD=20=D0=B2=D1=81=D0=B5=D0=B3=D0=B4=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/core/AppLogger.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/core/AppLogger.js b/server/core/AppLogger.js index 68c8e1fb..1e1f27b3 100644 --- a/server/core/AppLogger.js +++ b/server/core/AppLogger.js @@ -37,6 +37,10 @@ class AppLogger { {log: 'FileLog', fileName: this.errLogFileName, exclude: [LM_OK, LM_INFO, LM_TOTAL]}, {log: 'FileLog', fileName: this.fatalLogFileName, exclude: [LM_OK, LM_INFO, LM_WARN, LM_ERR, LM_TOTAL]},//LM_FATAL only ]; + } else { + loggerParams = [ + {log: 'ConsoleLog'}, + ]; } this._logger = new Logger(loggerParams);