Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Commit

Permalink
Merge pull request #245 from madhawap/master
Browse files Browse the repository at this point in the history
commented logs in backend-service-invoker
  • Loading branch information
ruwany authored Jul 8, 2016
2 parents 2e43fde + 43e2639 commit 7ce8d1b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ var backendServiceInvoker = function () {
log.debug("Service Invoker-URL: " + endpoint);
log.debug("Service Invoker-Method: " + httpMethod);

log.info("Request : " + httpMethod + " " + endpoint);
/*log.info("Request : " + httpMethod + " " + endpoint);
log.info("Request payload if any : " + stringify(requestPayload));
log.info("Response status : " + xmlHttpRequest.status);
log.info("Response payload : " + xmlHttpRequest.responseText);
log.info("Response payload : " + xmlHttpRequest.responseText);*/
//log.info("Response headers : " + xmlHttpRequest.getAllResponseHeaders());

if (xmlHttpRequest.status == 401 && (xmlHttpRequest.responseText == TOKEN_EXPIRED ||
Expand Down

0 comments on commit 7ce8d1b

Please sign in to comment.