From f47969f42a4ff70bdc58cf88c6e9f46370696c9c Mon Sep 17 00:00:00 2001 From: Neil Johnson Date: Thu, 20 Jun 2019 15:14:26 +0100 Subject: [PATCH] Improve email notification logging (#5502) --- changelog.d/5502.misc | 1 + synapse/push/mailer.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog.d/5502.misc diff --git a/changelog.d/5502.misc b/changelog.d/5502.misc new file mode 100644 index 0000000000..d515323eae --- /dev/null +++ b/changelog.d/5502.misc @@ -0,0 +1 @@ +Improve email notification logging. diff --git a/synapse/push/mailer.py b/synapse/push/mailer.py index 17c7d3195a..809199fe88 100644 --- a/synapse/push/mailer.py +++ b/synapse/push/mailer.py @@ -256,7 +256,7 @@ class Mailer(object): multipart_msg.attach(text_part) multipart_msg.attach(html_part) - logger.info("Sending email push notification to %s" % email_address) + logger.info("Sending email notification to %s" % email_address) yield make_deferred_yieldable( self.sendmail(