use warning level for "emails were sent to in the last 24h" error

This commit is contained in:
Son NK 2020-05-21 20:07:04 +02:00
parent 281331bc51
commit 6cc8dd548c
1 changed files with 1 additions and 1 deletions

View File

@ -262,7 +262,7 @@ def send_email_with_rate_control(
) )
if nb_alert >= max_alert_24h: if nb_alert >= max_alert_24h:
LOG.error( LOG.warning(
"%s emails were sent to %s in the last 24h, alert type %s", "%s emails were sent to %s in the last 24h, alert type %s",
nb_alert, nb_alert,
to_email, to_email,