Gave logger name

f_influx-checks
Ruakij 3 years ago
parent 93f78aafe0
commit 34c73c82c8

@ -1,6 +1,6 @@
const log4js = require("log4js"); const log4js = require("log4js");
const logger = log4js.getLogger(); const logger = log4js.getLogger("main");
logger.level = process.env.logLevel ?? "INFO"; logger.level = process.env.logLevel ?? "INFO";

Loading…
Cancel
Save