Lowering the logging severity level from info to debug for specific services (#4948)
* Changed the two files to reduce info level to debug level for select services. * Adding change log --------- Co-authored-by: peartree <etienne.poirier@smilecdr.com>
This commit is contained in:
parent
41a1d0ad5f
commit
2fbd3fa272
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
type: fix
|
||||
issue: 4947
|
||||
title: "Previously, logging level on specific services was set too high. This has been modified."
|
|
@ -64,9 +64,9 @@ public class ResourceSearchUrlSvc {
|
|||
* Perform removal of entries older than {@code theCutoffDate} since the create operations are done.
|
||||
*/
|
||||
public void deleteEntriesOlderThan(Date theCutoffDate) {
|
||||
ourLog.info("About to delete SearchUrl which are older than {}", theCutoffDate);
|
||||
ourLog.debug("About to delete SearchUrl which are older than {}", theCutoffDate);
|
||||
int deletedCount = myResourceSearchUrlDao.deleteAllWhereCreatedBefore(theCutoffDate);
|
||||
ourLog.info("Deleted {} SearchUrls", deletedCount);
|
||||
ourLog.debug("Deleted {} SearchUrls", deletedCount);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -203,7 +203,7 @@ public class JobMaintenanceServiceImpl implements IJobMaintenanceService, IHasSc
|
|||
return;
|
||||
}
|
||||
try {
|
||||
ourLog.info("Maintenance pass starting.");
|
||||
ourLog.debug("Maintenance pass starting.");
|
||||
doMaintenancePass();
|
||||
} catch (Exception e) {
|
||||
ourLog.error("Maintenance pass failed", e);
|
||||
|
|
Loading…
Reference in New Issue