diff --git a/app.js b/app.js index e90539c95a..88ba08c354 100644 --- a/app.js +++ b/app.js @@ -38,7 +38,10 @@ global.env = process.env.NODE_ENV || 'production'; winston.remove(winston.transports.Console); winston.add(winston.transports.Console, { colorize: true, - timestamp: true, + timestamp: function() { + var date = new Date; + return date.getDate() + '/' + (date.getMonth() + 1) + ' ' + date.getHours() + ':' + date.getMinutes() + ' [' + global.process.pid + ']'; + }, level: global.env === 'production' ? 'info' : 'verbose' });