Add more logs to cleanup workers
Add start/end logs around the cleanup method so we can see the time it takes to run. Change-Id: I7504a57b5dbc9af181939622ff26ba0c26fc57b2
This commit is contained in:
parent
a64adca5da
commit
d6ed4b0d5b
|
@ -434,7 +434,9 @@ class BaseCleanupWorker(threading.Thread):
|
|||
if did_suspend:
|
||||
self.log.info("ZooKeeper available. Resuming")
|
||||
|
||||
self.log.info('Starting cleanup')
|
||||
self._run()
|
||||
self.log.info('Finished cleanup')
|
||||
self._stop_event.wait(self._interval)
|
||||
|
||||
self.log.info("Stopped")
|
||||
|
|
Loading…
Reference in New Issue