Node.js based forum software built for the modern web
show seconds in logs
Barış Soner Uşaklı7f455344d889
diff --git a/app.js b/app.jsindex 04a3c3d517..85abee4ab2 100644--- a/app.js+++ b/app.js@@ -37,7 +37,7 @@ winston.add(winston.transports.Console, {colorize: true,timestamp: function () {var date = new Date();- return (!!nconf.get('json-logging')) ? date.toJSON() : date.getDate() + '/' + (date.getMonth() + 1) + ' ' + date.toTimeString().substr(0,5) + ' [' + global.process.pid + ']';+ return (!!nconf.get('json-logging')) ? date.toJSON() : date.getDate() + '/' + (date.getMonth() + 1) + ' ' + date.toTimeString().substr(0,8) + ' [' + global.process.pid + ']';},level: nconf.get('log-level') || (global.env === 'production' ? 'info' : 'verbose'),json: (!!nconf.get('json-logging')),