Moving debug to info logs to startup

This commit is contained in:
Joshua Kim 2020-07-27 19:39:46 -04:00
parent b7a5d7968b
commit a48141682c

View file

@ -82,14 +82,14 @@ public class LeaseCleanupManager {
*/ */
public void start() { public void start() {
if (!isRunning) { if (!isRunning) {
log.debug("Starting lease cleanup thread."); log.info("Starting lease cleanup thread.");
completedLeaseStopwatch.reset().start(); completedLeaseStopwatch.reset().start();
garbageLeaseStopwatch.reset().start(); garbageLeaseStopwatch.reset().start();
deletionThreadPool.scheduleAtFixedRate(new LeaseCleanupThread(), INITIAL_DELAY, leaseCleanupIntervalMillis, deletionThreadPool.scheduleAtFixedRate(new LeaseCleanupThread(), INITIAL_DELAY, leaseCleanupIntervalMillis,
TimeUnit.MILLISECONDS); TimeUnit.MILLISECONDS);
isRunning = true; isRunning = true;
} else { } else {
log.debug("Lease cleanup thread already running, no need to start."); log.info("Lease cleanup thread already running, no need to start.");
} }
} }