------------------------------------------------------------ revno: 1359 committer: Mark Sapiro <m...@msapiro.net> branch nick: 2.2 timestamp: Sat 2014-10-25 13:10:13 -0700 message: Added list name and handler name to auto-discard vette log entry. modified: Mailman/Queue/IncomingRunner.py NEWS
-- lp:mailman/2.2 https://code.launchpad.net/~mailman-coders/mailman/2.2 Your team Mailman Checkins is subscribed to branch lp:mailman/2.2. To unsubscribe from this branch go to https://code.launchpad.net/~mailman-coders/mailman/2.2/+edit-subscription
=== modified file 'Mailman/Queue/IncomingRunner.py' --- Mailman/Queue/IncomingRunner.py 2012-10-21 20:35:01 +0000 +++ Mailman/Queue/IncomingRunner.py 2014-10-25 20:10:13 +0000 @@ -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 @@ 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 === modified file 'NEWS' --- NEWS 2014-10-17 15:43:49 +0000 +++ NEWS 2014-10-25 20:10:13 +0000 @@ -77,6 +77,9 @@ Bug fixes and other patches + - The vette log entry for a message discarded by a handler now includes + the list name and the name of the handler. (LP: #558096) + - The options CGI now rejects all but HTTP GET and POST requests. (LP: #1372199)
_______________________________________________ Mailman-checkins mailing list Mailman-checkins@python.org Unsubscribe: https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org