Change scope key not found log to debug level log

(cherry picked from commit eadb2efb86)
appm_improvement
Pasindu Rupasinghe 5 months ago committed by prathabanKavin
parent 922c775cfa
commit 43a6c289c5

@ -120,7 +120,9 @@ public class PublisherRESTAPIServicesImpl implements PublisherRESTAPIServices {
throw new BadRequestException(msg); throw new BadRequestException(msg);
} else if (HttpStatus.SC_NOT_FOUND == response.code()) { } else if (HttpStatus.SC_NOT_FOUND == response.code()) {
String msg = "Shared scope key not found : " + key; String msg = "Shared scope key not found : " + key;
log.info(msg); if (log.isDebugEnabled()) {
log.debug(msg);
}
return false; return false;
} else { } else {
String msg = "Response : " + response.code() + response.body(); String msg = "Response : " + response.code() + response.body();

Loading…
Cancel
Save