small logging change for ListAdmin.py
Please consider this small logging change. This helps trace issues, or claimed issues, with message moderation. Also, it adds symmetry with many of the messages that log mail going into a moderated state. Patch is against 2.1.17 thanks, steve --- ListAdmin.py 2013-12-12 19:40:27.276252413 -0800 +++ /usr/local/mailman/Mailman/ListAdmin.py 2014-03-21 11:59:50.826700290 -0700 @@ -285,8 +285,8 @@ # message directly here can lead to a huge delay in web # turnaround. Log the moderation and add a header. msg['X-Mailman-Approved-At'] = email.Utils.formatdate(localtime=1) - syslog('vette', 'held message approved, message-id: %s', - msg.get('message-id', 'n/a')) + syslog('vette', '%s held message approved, message-id: %s', + self.internal_name(), msg.get('message-id', 'n/a')) # Stick the message back in the incoming queue for further # processing. inq = get_switchboard(mm_cfg.INQUEUE_DIR)
On 03/21/2014 02:26 PM, Stephen Willey Mats Mats wrote:
Please consider this small logging change.
Follow the progress of this at <https://bugs.launchpad.net/mailman/+bug/1295875>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Stephen Willey Mats Mats