mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
disabling testing info logs at token-protected-service-invokers.js
This commit is contained in:
parent
89cebcdb9e
commit
ec7f8ccd1f
@ -95,10 +95,10 @@ var invokers = function () {
|
|||||||
log.debug("Service Invoker-URL: " + endpoint);
|
log.debug("Service Invoker-URL: " + endpoint);
|
||||||
log.debug("Service Invoker-Method: " + httpMethod);
|
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("Request payload if any : " + stringify(requestPayload));
|
||||||
log.info("Response status : " + xmlHttpRequest.status);
|
// log.info("Response status : " + xmlHttpRequest.status);
|
||||||
log.info("Response payload if any : " + xmlHttpRequest.responseText);
|
// log.info("Response payload if any : " + xmlHttpRequest.responseText);
|
||||||
|
|
||||||
if (xmlHttpRequest.status == 401 && (xmlHttpRequest.responseText == TOKEN_EXPIRED ||
|
if (xmlHttpRequest.status == 401 && (xmlHttpRequest.responseText == TOKEN_EXPIRED ||
|
||||||
xmlHttpRequest.responseText == TOKEN_INVALID ) && count < 5) {
|
xmlHttpRequest.responseText == TOKEN_INVALID ) && count < 5) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user