Skip to content

Commit 7571040

Browse files
committed
Update preStart
1 parent 412cd65 commit 7571040

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prestart.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function setupWinston () {
2222
colorize: nconf.get('log-colorize') !== 'false',
2323
timestamp: function () {
2424
var date = new Date()
25-
return nconf.get('json-logging') ? date.toJSON()
25+
return config.json_logging ? date.toJSON()
2626
: date.toISOString() + ' [' + global.process.pid + ']'
2727
},
2828
level: config.log_level || (global.env === 'production' ? 'info' : 'verbose'),

0 commit comments

Comments
 (0)