From fe43b1f37a6924c298d022f965903c4a1e3ebfe3 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Mon, 25 Jun 2018 10:01:05 +0200 Subject: [PATCH] Logs in False --- BlobStorage.js | 2 +- Context.js | 2 +- TradingBotProcessMainLoop.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/BlobStorage.js b/BlobStorage.js index 43c72f773..e00edd724 100644 --- a/BlobStorage.js +++ b/BlobStorage.js @@ -1,7 +1,7 @@  exports.newBlobStorage = function newBlobStorage(BOT, logger) { - let FULL_LOG = true; + let FULL_LOG = false; let ERROR_LOG = true; let LOG_FILE_CONTENT = false; diff --git a/Context.js b/Context.js index 2ba87839e..be630f97d 100644 --- a/Context.js +++ b/Context.js @@ -125,7 +125,7 @@ switch (err.result) { case global.DEFAULT_OK_RESPONSE.result: { - logger.write(MODULE_NAME, "[INFO] initialize -> onDone -> Execution finished well."); + if (global.LOG_CONTROL[MODULE_NAME].logInfo === true) { logger.write(MODULE_NAME, "[INFO] initialize -> onDone -> Execution finished well."); } bot.hasTheBotJustStarted = false; diff --git a/TradingBotProcessMainLoop.js b/TradingBotProcessMainLoop.js index a6a398432..fb526dcfa 100644 --- a/TradingBotProcessMainLoop.js +++ b/TradingBotProcessMainLoop.js @@ -3,7 +3,7 @@ const ROOT_DIR = './'; const MODULE_NAME = "Trading Bot Process Main Loop"; - const FULL_LOG = true; + const FULL_LOG = false; let USER_BOT_MODULE; let COMMONS_MODULE;