mirror of
https://github.com/plankanban/planka.git
synced 2025-07-19 05:09:43 +02:00
parent
2c84390b8c
commit
d9393879b5
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ const logfile =
|
|||
* Refer {@link https://github.com/winstonjs/winston#logging here}
|
||||
* 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(
|
||||
winston.format.uncolorize(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue