From 77e40fbbc6bcc5107ab3cf761d312566afda97d5 Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Sat, 25 Oct 2014 13:08:25 -0700 Subject: Added list name and handler name to auto-discard vette log entry. --- Mailman/Queue/IncomingRunner.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Mailman/Queue/IncomingRunner.py') diff --git a/Mailman/Queue/IncomingRunner.py b/Mailman/Queue/IncomingRunner.py index bcc51209..eab4d2c5 100644 --- a/Mailman/Queue/IncomingRunner.py +++ b/Mailman/Queue/IncomingRunner.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2003 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2014 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -157,8 +157,11 @@ class IncomingRunner(Runner): os._exit(1) except Errors.DiscardMessage: # Throw the message away; we need do nothing else with it. - syslog('vette', 'Message discarded, msgid: %s', - msg.get('message-id', 'n/a')) + syslog('vette', """Message discarded, msgid: %s' + list: %s, + handler: %s""", + msg.get('message-id', 'n/a'), + mlist.real_name, handler) return 0 except Errors.HoldMessage: # Let the approval process take it from here. The message no -- cgit v1.2.3