Fix use of logging instead of logger
(imported from commit cd25471e842e089d5032b07bcd83c6fe44d03a2d)
This commit is contained in:
parent
fcb6336642
commit
223ac22a13
|
@ -284,7 +284,7 @@ def process_loop(log):
|
|||
try:
|
||||
maybe_restart_mirroring_script()
|
||||
if restart_check_count > 0:
|
||||
logging.info("Stopped getting errors checking whether restart is required.")
|
||||
logger.info("Stopped getting errors checking whether restart is required.")
|
||||
restart_check_count = 0
|
||||
except Exception:
|
||||
if restart_check_count < 5:
|
||||
|
|
Loading…
Reference in a new issue