fix: log level value should not be case sensitive (#2913)
This commit is contained in:
@@ -26,7 +26,7 @@ const hformat = winston.format.printf(
|
||||
);
|
||||
|
||||
const logger = winston.createLogger({
|
||||
level: process.env.LOG_LEVEL || 'debug',
|
||||
level: process.env.LOG_LEVEL?.toLowerCase() || 'debug',
|
||||
format: winston.format.combine(
|
||||
winston.format.splat(),
|
||||
winston.format.timestamp(),
|
||||
|
||||
Reference in New Issue
Block a user