From 1cb4884db56c774e89db80bd0e79a9765441548d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Sun, 6 Dec 2015 21:36:57 +0100 Subject: Logging refractoring --- src/utils.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/utils.js') diff --git a/src/utils.js b/src/utils.js index 4aa1fc55e..30edcd0e9 100644 --- a/src/utils.js +++ b/src/utils.js @@ -30,7 +30,7 @@ } } - logger.debug('Sending informations to %s.', to_pod.url, { params: params }) + logger.debug('Make retry requests to %s.', to_pod.url) // Default 10 but in tests we want to be faster var retries = utils.isTestInstance() ? 2 : 10 @@ -84,8 +84,6 @@ // Add data with POST requst ? if (all_data.method === 'POST' && all_data.data) { - logger.debug('Make a POST request.') - // Encrypt data ? if (all_data.encrypt === true) { var crt = ursa.createPublicKey(pod.publicKey) @@ -109,7 +107,6 @@ makeRetryRequest(params, url, pod, signature, callbackEachRetryRequest) } } else { - logger.debug('Make a GET/DELETE request') makeRetryRequest(params, url, pod, signature, callbackEachRetryRequest) } }, callback) -- cgit v1.2.3