Change scope key not found log to debug level log

uddhika-device-mgt
Lasantha Dharmakeerthi 6 months ago
commit b46926cda7

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