Change scope key not found log to debug level log

master
Pasindu Rupasinghe 5 months ago
parent e84a479c23
commit eadb2efb86

@ -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