From 21f047f4aa37d8daf44a73af967403fb3faf2160 Mon Sep 17 00:00:00 2001 From: Koenkk Date: Thu, 16 Aug 2018 18:56:33 +0200 Subject: [PATCH] Use localtimestamp for file logging. #289 --- lib/util/logger.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/util/logger.js b/lib/util/logger.js index 2f5d1629..7d87af67 100644 --- a/lib/util/logger.js +++ b/lib/util/logger.js @@ -23,6 +23,7 @@ const logger = new (winston.Logger)({ level: logLevel, maxFiles: 3, maxsize: 10000000, // 10MB + timestamp: () => new Date().toLocaleString(), }), new (winston.transports.Console)({ timestamp: () => new Date().toLocaleString(),