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)
_______________________________________________
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Reply via email to