From ec7f8ccd1fda8312e1c5b94b54b09d69b12b638d Mon Sep 17 00:00:00 2001 From: dilanua Date: Mon, 1 Aug 2016 20:28:39 +0530 Subject: [PATCH] disabling testing info logs at token-protected-service-invokers.js --- .../app/modules/oauth/token-protected-service-invokers.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/modules/oauth/token-protected-service-invokers.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/modules/oauth/token-protected-service-invokers.js index 9c217a52ddd..4994e160bff 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/modules/oauth/token-protected-service-invokers.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/modules/oauth/token-protected-service-invokers.js @@ -95,10 +95,10 @@ var invokers = function () { log.debug("Service Invoker-URL: " + endpoint); log.debug("Service Invoker-Method: " + httpMethod); - log.info("Request : " + httpMethod + " " + endpoint); - log.info("Request payload if any : " + stringify(requestPayload)); - log.info("Response status : " + xmlHttpRequest.status); - log.info("Response payload if any : " + xmlHttpRequest.responseText); +// log.info("Request : " + httpMethod + " " + endpoint); +// log.info("Request payload if any : " + stringify(requestPayload)); +// log.info("Response status : " + xmlHttpRequest.status); +// log.info("Response payload if any : " + xmlHttpRequest.responseText); if (xmlHttpRequest.status == 401 && (xmlHttpRequest.responseText == TOKEN_EXPIRED || xmlHttpRequest.responseText == TOKEN_INVALID ) && count < 5) {