From 187b2ff82bb936c19451d571586eb8e1037a17c3 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Tue, 12 Jun 2018 05:36:25 +0200 Subject: [PATCH] bug logging --- ExtractionBotProcessMainLoop.js | 2 +- IndicatorBotProcessMainLoop.js | 2 +- TradingBotProcessMainLoop.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ExtractionBotProcessMainLoop.js b/ExtractionBotProcessMainLoop.js index d59cb2ba5..0e0600d1e 100644 --- a/ExtractionBotProcessMainLoop.js +++ b/ExtractionBotProcessMainLoop.js @@ -150,7 +150,7 @@ return str.length < max ? pad(" " + str, max) : str; } - console.log((new Date().toISOString() + " " + pad(bot.codeName, 20) + " " + pad(bot.process, 30) + " Entered into Loop # " + pad((Number(bot.loopCounter) + 1)), 5)); + console.log(new Date().toISOString() + " " + pad(bot.codeName, 20) + " " + pad(bot.process, 30) + " Entered into Loop # " + pad(Number(bot.loopCounter) + 1, 5)); /* For each loop we want to create a new log file. */ diff --git a/IndicatorBotProcessMainLoop.js b/IndicatorBotProcessMainLoop.js index 36e23a18b..c160d30f4 100644 --- a/IndicatorBotProcessMainLoop.js +++ b/IndicatorBotProcessMainLoop.js @@ -151,7 +151,7 @@ return str.length < max ? pad(" " + str, max) : str; } - console.log((new Date().toISOString() + " " + pad(bot.codeName, 20) + " " + pad(bot.process,30) + " Entered into Loop # " + pad((Number(bot.loopCounter) + 1)),5)); + console.log(new Date().toISOString() + " " + pad(bot.codeName, 20) + " " + pad(bot.process, 30) + " Entered into Loop # " + pad(Number(bot.loopCounter) + 1, 5 )); /* For each loop we want to create a new log file. */ diff --git a/TradingBotProcessMainLoop.js b/TradingBotProcessMainLoop.js index d463c3549..b1f7b70c6 100644 --- a/TradingBotProcessMainLoop.js +++ b/TradingBotProcessMainLoop.js @@ -151,7 +151,7 @@ return str.length < max ? pad(" " + str, max) : str; } - console.log((new Date().toISOString() + " " + pad(bot.codeName, 20) + " " + pad(bot.process, 30) + " Entered into Loop # " + pad((Number(bot.loopCounter) + 1)), 5)); + console.log(new Date().toISOString() + " " + pad(bot.codeName, 20) + " " + pad(bot.process, 30) + " Entered into Loop # " + pad(Number(bot.loopCounter) + 1, 5)); /* For each loop we want to create a new log file. */