summaryrefslogtreecommitdiff
path: root/localwebstats
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2003-05-25 03:28:24 +0000
committerJonas Smedegaard <dr@jones.dk>2003-05-25 03:28:24 +0000
commit47f9ee241188df594ee47ea5bbc3af3cc181f494 (patch)
tree9f8fd692392599c0d8357ddb9d221277e92dce17 /localwebstats
parentad9b8e6638ccdf1e6bd101c65a389e687055b219 (diff)
Correctly suppres ModLogAn noise.
Diffstat (limited to 'localwebstats')
-rwxr-xr-xlocalwebstats4
1 files changed, 2 insertions, 2 deletions
diff --git a/localwebstats b/localwebstats
index 6dbc477..d95fe65 100755
--- a/localwebstats
+++ b/localwebstats
@@ -3,7 +3,7 @@
# /usr/local/sbin/localwebstats
# Copyright 2001-2002 Jonas Smedegaard <dr@jones.dk>
#
-# $Id: localwebstats,v 1.25 2003-05-22 12:32:06 jonas Exp $
+# $Id: localwebstats,v 1.26 2003-05-25 03:28:24 jonas Exp $
#
# Webstats maintenance script
#
@@ -166,7 +166,7 @@ for WEBSITE in $WEBSITES; do
RMAGIC_OPTIONS=""
WEBALIZER_OPTIONS="-c /etc/webalizer.conf -c $WEBALIZER_CFG -o $STATSDIR/webalizer -f"
MODLOGAN_OPTIONS="-c $MODLOGAN_CFG"
- MODLOGAN_TAIL="2>&1 | egrep -v '^(modlogan [\.0-9]+|main\.c\.658 \(main\): startup - finished| *(\[\.* *[0-9]*\])?|.+: No such file or directory, first run \?)$' || true if [ $? \< 2 ]"
+ MODLOGAN_TAIL="2>&1 | egrep -v '^(modlogan [\.0-9]+|main\.c\.658 \(main\): startup - finished|[\. \[\]]*[0-9]*|.+: No such file or directory, first run \?)$' || true if [ $? \< 2 ]"
AWSTATS_OPTIONS="-update"
FQDN_ESC=`echo "$HOST.$DOMAIN" | sed -e 's/\./\\\./g'` # needed for awstats config