summary refs log tree commit diff
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2019-06-20 15:14:26 +0100
committerGitHub <noreply@github.com>2019-06-20 15:14:26 +0100
commitf47969f42a4ff70bdc58cf88c6e9f46370696c9c (patch)
tree399d04ed9c59420abf91ab075ae2487618e9e61c
parentRun Black. (#5482) (diff)
downloadsynapse-f47969f42a4ff70bdc58cf88c6e9f46370696c9c.tar.xz
Improve email notification logging (#5502)
-rw-r--r--changelog.d/5502.misc1
-rw-r--r--synapse/push/mailer.py2
2 files changed, 2 insertions, 1 deletions
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(