We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 412cd65 commit 7571040Copy full SHA for 7571040
src/prestart.js
@@ -22,7 +22,7 @@ function setupWinston () {
22
colorize: nconf.get('log-colorize') !== 'false',
23
timestamp: function () {
24
var date = new Date()
25
- return nconf.get('json-logging') ? date.toJSON()
+ return config.json_logging ? date.toJSON()
26
: date.toISOString() + ' [' + global.process.pid + ']'
27
},
28
level: config.log_level || (global.env === 'production' ? 'info' : 'verbose'),
0 commit comments