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:
|
try:
|
||||||
maybe_restart_mirroring_script()
|
maybe_restart_mirroring_script()
|
||||||
if restart_check_count > 0:
|
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
|
restart_check_count = 0
|
||||||
except Exception:
|
except Exception:
|
||||||
if restart_check_count < 5:
|
if restart_check_count < 5:
|
||||||
|
|
Loading…
Reference in a new issue