notifications: reduce logging for email notifications.

This commit is contained in:
Daniel Dourvaris 2020-04-03 22:50:43 +02:00
parent c08522ec01
commit 0e39d9274f

View file

@ -333,7 +333,7 @@ class EmailNotificationModel(BaseModel):
}
premailer_instance = premailer.Premailer(
cssutils_logging_level=logging.DEBUG,
cssutils_logging_level=logging.WARNING,
cssutils_logging_handler=logging.getLogger().handlers[0]
if logging.getLogger().handlers else None,
)