Corrections on Logging

This commit is contained in:
Luis Fernando Molina committed 2018-06-03 23:39:03 +02:00
1 parent ea2d376ab6
commit fb11a7ef3e
4 files changed
+157 -121

No files matched your search

+2 -2
View File
@@ -3,7 +3,7 @@
const ROOT_DIR = './';
const MODULE_NAME = "DebugLog";
let executionDatetime = ".Y." + global.EXECUTION_DATETIME.getUTCFullYear() +
let executionDatetime = "Y." + global.EXECUTION_DATETIME.getUTCFullYear() +
".M." + pad(global.EXECUTION_DATETIME.getUTCMonth() + 1, 2) +
".D." + pad(global.EXECUTION_DATETIME.getUTCDate(), 2) +
".H." + pad(global.EXECUTION_DATETIME.getUTCHours(),2) +
@@ -33,7 +33,7 @@
disableCloudLogging = pDisableCloudLogging
if (disableCloudLogging !== true) {
thisObject.bot.eventHandler.listenToEvent("Loop Finished", onLoopFinished);
thisObject.bot.eventHandler.listenToEvent("Close Log File", onLoopFinished);
}
}