This commit is contained in:
psychobunny
2014-11-13 16:47:38 -05:00
parent d9d44aee2b
commit 2990b33dc6

2
app.js
View File

@@ -39,7 +39,7 @@ winston.remove(winston.transports.Console);
winston.add(winston.transports.Console, {
colorize: true,
timestamp: function() {
var date = new Date;
var date = new Date();
return date.getDate() + '/' + (date.getMonth() + 1) + ' ' + date.getHours() + ':' + date.getMinutes() + ' [' + global.process.pid + ']';
},
level: global.env === 'production' ? 'info' : 'verbose'