From 56947b999e21d2fa86e5333ca3195bd364970716 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Sun, 26 Oct 2014 18:46:50 -0400 Subject: [PATCH] added timestamps to winston logs --- app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index 65c15d5a3d..0a9a06f590 100644 --- a/app.js +++ b/app.js @@ -37,7 +37,8 @@ global.env = process.env.NODE_ENV || 'production'; winston.remove(winston.transports.Console); winston.add(winston.transports.Console, { - colorize: true + colorize: true, + timestamp: true }); winston.add(winston.transports.File, {