From abeeecfe3d05feb1324574df57ad2176e9af1f3a Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Sat, 14 Mar 2020 11:28:52 +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 a77b2eba8..92d915427 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; @@ -24,6 +24,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 f425326d8..f0e976090 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; @@ -23,6 +23,7 @@ }; let statusDependencies; + let fileStorage = FILE_STORAGE.newFileStorage(logger); return thisObject;