better logging

This commit is contained in:
Luis Fernando Molina committed 2020-02-27 10:09:18 +01:00
1 parent 0673d27ecd
commit d1f9a8a0ea
1 file changed
+1 -1
+1 -1
View File
@@ -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); }