mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
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