From edd3133f1ea0aa0c84e4a1a29cbe67416ca1a707 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Sat, 14 Mar 2020 11:28:30 +0100 Subject: [PATCH] Logging Improved --- Multi-Period-Daily/User.Bot.js | 3 ++- Multi-Period-Market/User.Bot.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Multi-Period-Daily/User.Bot.js b/Multi-Period-Daily/User.Bot.js index 002e336b7..5b9af5b85 100644 --- a/Multi-Period-Daily/User.Bot.js +++ b/Multi-Period-Daily/User.Bot.js @@ -1,4 +1,4 @@ -exports.newUserBot = function newUserBot(bot, logger, COMMONS, UTILITIES, fileStorage) { +exports.newUserBot = function newUserBot(bot, logger, COMMONS, UTILITIES, FILE_STORAGE) { const FULL_LOG = true; const INTENSIVE_LOG = false; @@ -21,6 +21,7 @@ }; let utilities = UTILITIES.newCloudUtilities(bot, logger); + let fileStorage = FILE_STORAGE.newFileStorage(logger); let statusDependencies; let beginingOfMarket diff --git a/Multi-Period-Market/User.Bot.js b/Multi-Period-Market/User.Bot.js index be189f43e..e85e3a4b1 100644 --- a/Multi-Period-Market/User.Bot.js +++ b/Multi-Period-Market/User.Bot.js @@ -1,4 +1,4 @@ -exports.newUserBot = function newUserBot(bot, logger, COMMONS, UTILITIES, fileStorage) { +exports.newUserBot = function newUserBot(bot, logger, COMMONS, UTILITIES, FILE_STORAGE) { const FULL_LOG = true; const LOG_FILE_CONTENT = false; @@ -17,6 +17,7 @@ }; let statusDependencies; + let fileStorage = FILE_STORAGE.newFileStorage(logger); return thisObject;