public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20200401-14-gc169890
@ 2020-05-17 18:09 Jon TURNEY
  0 siblings, 0 replies; only message in thread
From: Jon TURNEY @ 2020-05-17 18:09 UTC (permalink / raw)
  To: cygwin-apps-cvs




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=c16989024207a8acb298e17382e93fa8ef1dc48b

commit c16989024207a8acb298e17382e93fa8ef1dc48b
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Sun May 17 18:59:27 2020 +0100

    Log the msgid of sent mails to help investigation


Diff:
---
 calm/buffering_smtp_handler.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/calm/buffering_smtp_handler.py b/calm/buffering_smtp_handler.py
index a590b8b..fcc5290 100644
--- a/calm/buffering_smtp_handler.py
+++ b/calm/buffering_smtp_handler.py
@@ -89,6 +89,7 @@ class BufferingSMTPHandler(logging.handlers.BufferingHandler):
                     p.communicate(m.as_bytes())
 
             self.buffer = []
+            logging.debug('sent mail with msgid %s' % (m['Message-Id']))
 
     def shouldFlush(self, record):
         # the capacity we pass to BufferingHandler is irrelevant since we



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-17 18:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-17 18:09 [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20200401-14-gc169890 Jon TURNEY

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).