From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2201) id 31ED8386F81E; Sun, 17 May 2020 18:09:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 31ED8386F81E To: cygwin-apps-cvs@sourceware.org Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20200401-14-gc169890 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: f8e513943c24453bce9ab5faecfe7e6c26261587 X-Git-Newrev: c16989024207a8acb298e17382e93fa8ef1dc48b Message-Id: <20200517180926.31ED8386F81E@sourceware.org> Date: Sun, 17 May 2020 18:09:26 +0000 (GMT) From: Jon TURNEY X-BeenThere: cygwin-apps-cvs@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin-apps git logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2020 18:09:26 -0000 https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=c16989024207a8acb298e17382e93fa8ef1dc48b commit c16989024207a8acb298e17382e93fa8ef1dc48b Author: Jon Turney 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