mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 14:36:25 +00:00
Fix logger.level
This commit is contained in:
parent
3a27f000a9
commit
7bcfc46879
1 changed files with 1 additions and 3 deletions
|
@ -1,10 +1,8 @@
|
||||||
const logger = require('winston');
|
const logger = require('winston');
|
||||||
|
|
||||||
// Set log level from environment. It may be overriden later by configuration
|
|
||||||
logger.level = process.env.LOG_LEVEL || 'info';
|
|
||||||
|
|
||||||
// Colorize console logs
|
// Colorize console logs
|
||||||
logger.configure({
|
logger.configure({
|
||||||
|
level: process.env.LOG_LEVEL || 'info',
|
||||||
transports: [
|
transports: [
|
||||||
new (logger.transports.Console)({ colorize: true }),
|
new (logger.transports.Console)({ colorize: true }),
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue