From 6cc8dd548cc89fa0f62e70118f9e3ef733a7c2f0 Mon Sep 17 00:00:00 2001 From: Son NK <> Date: Thu, 21 May 2020 20:07:04 +0200 Subject: [PATCH] use warning level for "emails were sent to in the last 24h" error --- app/email_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/email_utils.py b/app/email_utils.py index 4ddf865c..a793e692 100644 --- a/app/email_utils.py +++ b/app/email_utils.py @@ -262,7 +262,7 @@ def send_email_with_rate_control( ) if nb_alert >= max_alert_24h: - LOG.error( + LOG.warning( "%s emails were sent to %s in the last 24h, alert type %s", nb_alert, to_email,