From 9a7945e9a6dc3e2776878ca0bc7547ec12b52f44 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Mon, 25 Jun 2018 12:57:03 +0200 Subject: [PATCH] Fixing Logs --- StatusDependencies.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/StatusDependencies.js b/StatusDependencies.js index cb03c7aef..486121e4a 100644 --- a/StatusDependencies.js +++ b/StatusDependencies.js @@ -58,8 +58,8 @@ switch (err.message) { case global.DEFAULT_OK_RESPONSE.message: { - if (FULL_LOG === true) { "[INFO] initialize -> onLoad -> Execution finished well. -> bot = " + pStatusDependenciesConfig[i].bot); } - if (FULL_LOG === true) { "[INFO] initialize -> onLoad -> Execution finished well. -> process = " + pStatusDependenciesConfig[i].process); } + if (FULL_LOG === true) { logger.write(MODULE_NAME, "[INFO] initialize -> onLoad -> Execution finished well. -> bot = " + pStatusDependenciesConfig[i].bot); } + if (FULL_LOG === true) { logger.write(MODULE_NAME, "[INFO] initialize -> onLoad -> Execution finished well. -> process = " + pStatusDependenciesConfig[i].process); } addReport(); return;