1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-18 20:59:44 +02:00

Update logger.js

fixes #1098
This commit is contained in:
Maurice Faber 2025-04-22 15:14:25 +02:00 committed by GitHub
parent 2c84390b8c
commit 23162a529c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,7 +15,7 @@ const logfile =
* Refer {@link https://github.com/winstonjs/winston#logging here} * Refer {@link https://github.com/winstonjs/winston#logging here}
* for more information on Winston log levels. * for more information on Winston log levels.
*/ */
const logLevel = 'warn'; // process.env.NODE_ENV === 'production' ? 'info' : 'debug'; const logLevel = 'LOG_LEVEL' in process.env ? process.env.LOG_LEVEL : 'warn';
const logFormat = winston.format.combine( const logFormat = winston.format.combine(
winston.format.uncolorize(), winston.format.uncolorize(),