added timestamps to winston logs

v1.18.x
barisusakli 10 years ago
parent d2cc4b8516
commit 56947b999e

@ -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, {

Loading…
Cancel
Save