v1.18.x
Barış Soner Uşaklı 7 years ago
parent 302e20d47d
commit 8353d8b9bb

@ -11,7 +11,7 @@ var dirname = require('./cli/paths').baseDir;
function setupWinston() {
winston.remove(winston.transports.Console);
winston.add(winston.transports.Console, {
colorize: true,
colorize: nconf.get('log-colorize') !== 'false',
timestamp: function () {
var date = new Date();
return nconf.get('json-logging') ? date.toJSON() :

Loading…
Cancel
Save