# HG changeset patch # User Marcin Kuzminski # Date 2020-07-09 09:51:23 # Node ID 3618550c1a1a523704ff7e96f5c721c4cc10bc77 # Parent eb21bda0d6ce042590a5d80b580cae6986ca6369 emails: reduce warning logs on pre-mailer. diff --git a/rhodecode/model/notification.py b/rhodecode/model/notification.py --- a/rhodecode/model/notification.py +++ b/rhodecode/model/notification.py @@ -333,7 +333,7 @@ class EmailNotificationModel(BaseModel): } premailer_instance = premailer.Premailer( - cssutils_logging_level=logging.WARNING, + cssutils_logging_level=logging.ERROR, cssutils_logging_handler=logging.getLogger().handlers[0] if logging.getLogger().handlers else None, )