Not loging all the response from the exchanges

This commit is contained in:
mati108@gmail.com committed 2019-02-13 17:25:06 -03:00
1 parent f64c92ef55
commit 4d04098154
1 file changed
+2 -2
+2 -2
View File
@@ -6,7 +6,7 @@
*/
const FULL_LOG = true;
const LOG_FILE_CONTENT = true;
const LOG_FILE_CONTENT = false;
const MODULE_NAME = "poloniexClient";
const retry = require('../exchangeUtils').retry;
@@ -300,7 +300,7 @@
try {
if (FULL_LOG === true) { logger.write(MODULE_NAME, "[INFO] analizeResponse -> exchangeErr = " + stringExchangeErr); }
if (FULL_LOG === true) { logger.write(MODULE_NAME, "[INFO] analizeResponse -> exchangeResponse = " + stringExchangeResponse); }
if (LOG_FILE_CONTENT === true) { logger.write(MODULE_NAME, "[INFO] analizeResponse -> exchangeResponse = " + stringExchangeResponse); }
if (exchangeErr) {
error = global.DEFAULT_FAIL_RESPONSE;