From 34c73c82c82303c8ed06fee9f4f92169e056ac96 Mon Sep 17 00:00:00 2001 From: Ruakij Date: Wed, 24 Nov 2021 01:06:29 +0100 Subject: [PATCH] Gave logger name --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 2680701..779804d 100644 --- a/src/main.js +++ b/src/main.js @@ -1,6 +1,6 @@ const log4js = require("log4js"); -const logger = log4js.getLogger(); +const logger = log4js.getLogger("main"); logger.level = process.env.logLevel ?? "INFO";