Node.js based forum software built for the modern web
updating winston timestamp
psychobunnya8402b228cc3
diff --git a/app.js b/app.jsindex 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'});