diff --git a/roles/fedmsg_base/templates/logging.py.j2 b/roles/fedmsg_base/templates/logging.py.j2 index a0e7163e29..7153e9f470 100644 --- a/roles/fedmsg_base/templates/logging.py.j2 +++ b/roles/fedmsg_base/templates/logging.py.j2 @@ -16,37 +16,27 @@ config = dict( "level": "DEBUG", "stream": "ext://sys.stdout", }, -{% if env == 'staging' %} mailer={ "class": "logging.handlers.SMTPHandler", # TODO -- potentially change this to a nicer mail formatter. "formatter": "bare", "level": "ERROR", - "mailhost": "bastion.fedoraproject.org", + "mailhost": "bastion.phx2.fedoraproject.org", "fromaddr": "fedmsg@fedoraproject.org", "toaddrs": ["sysadmin-datanommer-members@fedoraproject.org"], - "subject": "fedmsg error", + "subject": "fedmsg error log", }, -{% endif %} ), loggers=dict( fedmsg={ "level": "DEBUG", "propagate": False, -{% if env == 'staging' %} "handlers": ["console", "mailer"], -{% else %} - "handlers": ["console"], -{% endif %} }, moksha={ "level": "DEBUG", "propagate": False, -{% if env == 'staging' %} "handlers": ["console", "mailer"], -{% else %} - "handlers": ["console"], -{% endif %} }, ), ),