1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-08-10 22:31:47 +02:00

Use the logger

This commit is contained in:
Florent Daigniere
2022-10-28 18:28:31 +02:00
parent 89f7d983b4
commit ec4224123b

View File

@@ -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"])