diff --git a/.vs/AACloudPlatform/v15/.suo b/.vs/AACloudPlatform/v15/.suo index b5a38c3ea..07cda9ff6 100644 Binary files a/.vs/AACloudPlatform/v15/.suo and b/.vs/AACloudPlatform/v15/.suo differ diff --git a/Azure File Storage.js b/Azure File Storage.js index af33c59d8..abd835e12 100644 --- a/Azure File Storage.js +++ b/Azure File Storage.js @@ -2,6 +2,7 @@ exports.newAzureFileStorage = function newAzureFileStorage(BOT) { const FULL_LOG = true; + const LOG_FILE_CONTENT = false; let bot = BOT; const ROOT_DIR = './'; @@ -225,10 +226,13 @@ exports.newAzureFileStorage = function newAzureFileStorage(BOT) { if (FULL_LOG === true) { logger.write("[INFO] getTextFile -> onFileReceived -> Response from Azure received."); logger.write("[INFO] getTextFile -> onFileReceived -> err = " + JSON.stringify(err)); - logger.write("[INFO] getTextFile -> onFileReceived -> text = " + text); logger.write("[INFO] getTextFile -> onFileReceived -> response = " + JSON.stringify(response)); } + if (LOG_FILE_CONTENT === true) { + logger.write("[INFO] getTextFile -> onFileReceived -> text = " + text); + } + if (err) { if (err.message.indexOf("The server is busy") > 0) { diff --git a/Context.js b/Context.js index 1f4da0342..258c63e12 100644 --- a/Context.js +++ b/Context.js @@ -1,6 +1,7 @@ exports.newContext = function newContext(BOT, DEBUG_MODULE, FILE_STORAGE, UTILITIES) { const FULL_LOG = true; + const LOG_FILE_CONTENT = false; /* @@ -213,7 +214,7 @@ return; } - if (FULL_LOG === true) { + if (LOG_FILE_CONTENT === true) { logger.write("[INFO] initialize -> getExecutionHistory -> onFileReceived -> Content received = " + text); } @@ -480,7 +481,7 @@ return; } - if (FULL_LOG === true) { + if (LOG_FILE_CONTENT === true) { logger.write("[INFO] saveThemAll -> writeExucutionHistory -> onFolderCreated -> onFileCreated -> Content written = " + fileContent); }