aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/mmdsr
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2014-03-21 20:47:45 -0700
committerMark Sapiro <mark@msapiro.net>2014-03-21 20:47:45 -0700
commita3396edb09355cf29e69f03a1df78fbd10a1d849 (patch)
treef3bc8502ef6778b142eafc2d4a2541fb66dcb9f0 /contrib/mmdsr
parent9e1368ae5e7454b54b075ba14baec1bb0671b0fc (diff)
downloadmailman2-a3396edb09355cf29e69f03a1df78fbd10a1d849.tar.gz
mailman2-a3396edb09355cf29e69f03a1df78fbd10a1d849.tar.xz
mailman2-a3396edb09355cf29e69f03a1df78fbd10a1d849.zip
- Added the list name to the vette log "held message approved" entry.
(LP: 1295875) - Added the CGI module name to various "No such list" error log entries. (LP: 1295875) - Modified contrib/mmdsr to report module name if present in "No such list error log entries.
Diffstat (limited to '')
-rw-r--r--contrib/mmdsr7
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/mmdsr b/contrib/mmdsr
index 1097722c..522f65fa 100644
--- a/contrib/mmdsr
+++ b/contrib/mmdsr
@@ -176,6 +176,11 @@
# 0.0.21 Update by Mark Sapiro <mark@msapiro.net>
# Updated on: Sun Sep 27 12:45:44 PDT 2009
# Refactored to use mktemp to create temp files
+#
+# 0.0.22 Update by Mark Sapiro <mark@msapiro.net>
+# Updated on: Fri Mar 21 19:47:19 PDT 2014
+# Updated the "No such list" error report to include the newly
+# added name of the CGI module.
###############################################################################
# Set up locations of standard commands, directories, etc....
@@ -426,7 +431,7 @@ do
echo "" >> $TMP
echo "No Such List:" >> $TMP
echo "------------------------------" >> $TMP
- $GREP 'No such list' $TMPLOG | $SED -e 's/^.* "//' -e 's/".*$//' | $SORT | $UNIQ -c | $SORT -nr >> $TMP
+ $GREP 'No such list' $TMPLOG | $SED -e 's/^[^)]*) //' -e 's/No such list "//' -e 's/".*$//' | $SORT | $UNIQ -c | $SORT -nr >> $TMP
CNT=`$GREP -i 'shunting' $TMPLOG | $WC -l`
if [ "${CNT}x" != "x" ] ; then