Use the logger

main
Florent Daigniere 2 years ago
parent 89f7d983b4
commit ec4224123b

@ -30,7 +30,7 @@ while True:
break
except:
pass
print("Admin is not up just yet, retrying in 1 second")
log.warning("Admin is not up just yet, retrying in 1 second")
# Run rspamd
os.execv("/usr/sbin/rspamd", ["rspamd", "-i", "-f"])

Loading…
Cancel
Save