From d1f9a8a0eae55fe12f7596ee040dadc22c39c0a7 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Thu, 27 Feb 2020 10:09:18 +0100 Subject: [PATCH] better logging --- MultiPeriodDaily.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MultiPeriodDaily.js b/MultiPeriodDaily.js index 71ad6181a..27f1de9c7 100644 --- a/MultiPeriodDaily.js +++ b/MultiPeriodDaily.js @@ -320,7 +320,7 @@ previousDay = new Date(bot.multiPeriodDailyProcessDatetime.valueOf() - ONE_DAY_IN_MILISECONDS); if (global.WRITE_LOGS_TO_FILES === 'true') { - logger.newInternalLoop(bot.codeName, bot.process); + logger.newInternalLoop(bot.codeName, bot.process, bot.multiPeriodDailyProcessDatetime); } if (FULL_LOG === true) { logger.write(MODULE_NAME, "[INFO] start -> processTimeFrames -> advanceTime -> bot.multiPeriodDailyProcessDatetime = " + bot.multiPeriodDailyProcessDatetime); }