From 919db0b4c1c2f6e0d8cc3b9dfe247f46f69d415e Mon Sep 17 00:00:00 2001 From: Mattia Verga Date: Wed, 18 Jun 2025 18:43:58 +0200 Subject: [PATCH] bodhi: another attempt to fix broken smtp logging handler in stg Signed-off-by: Mattia Verga --- roles/bodhi2/base/templates/production.ini.j2 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/roles/bodhi2/base/templates/production.ini.j2 b/roles/bodhi2/base/templates/production.ini.j2 index e3e36d6693..291445731e 100644 --- a/roles/bodhi2/base/templates/production.ini.j2 +++ b/roles/bodhi2/base/templates/production.ini.j2 @@ -821,12 +821,9 @@ formatter = generic [handler_smtp] class = logging.handlers.SMTPHandler +kwargs = {'mailhost'='bastion', 'fromaddr'='updates@stg.fedoraproject.org', 'toaddrs'=['bodhiadmin-members@fedoraproject.org'], 'subject'='Bodhi error'} level = ERROR formatter = generic -mailhost = bastion -fromaddr = updates@stg.fedoraproject.org -toaddrs = bodhiadmin-members@fedoraproject.org -subject = Bodhi error [formatter_generic] format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s