Moving debug to info logs to startup
This commit is contained in:
parent
b7a5d7968b
commit
a48141682c
1 changed files with 2 additions and 2 deletions
|
|
@ -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.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue