diff options
author | Jonas Smedegaard <dr@jones.dk> | 2004-12-29 17:14:23 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2004-12-29 17:14:23 +0000 |
commit | cc196feddc42852f20ffdc49b41255ded6617070 (patch) | |
tree | 3369f9bbb847b7e6bab30f03a68d8664a9b791bf /localwebstats | |
parent | 5aa4adef1f74f23df36835475513b8f51c678278 (diff) |
Suppress more modlogan noise.
Diffstat (limited to 'localwebstats')
-rwxr-xr-x | localwebstats | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/localwebstats b/localwebstats index ea81eb5..02c56ba 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.39 2004-12-07 15:51:55 jonas Exp $ +# $Id: localwebstats,v 1.40 2004-12-29 17:14:23 jonas Exp $ # # Webstats maintenance script # @@ -171,7 +171,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]+|.+: startup - finished|[[:space:]]*\[\.*(\]|[[:space:]]+[0-9]+)|.*unknown country code: (lcl|tld) .+|.+: No such file or directory, first run \?)$' || true if [ $? \< 2 ]" + MODLOGAN_TAIL="2>&1 | egrep -v '^(modlogan [\.0-9]+|.+: startup - finished|[[:space:]]*(\[\.*|[[:space:]]+[0-9]+|\.*\])+|.*unknown country code: (gbl|lcl|tld) .+|.+: 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 |