diff options
author | Jonas Smedegaard <dr@jones.dk> | 2002-01-09 01:47:35 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2002-01-09 01:47:35 +0000 |
commit | 9e0a740dbe3b2e6b12d34545b319d0ce58c6949d (patch) | |
tree | 5f47af51d5207879115047e4ac6e03936009f9c2 /localwebstats | |
parent | 234e8dee7d1e13635cba17737d0d178fe6208b06 (diff) |
localwebstats: gzip LOGDATA after use. Have AWStats use LOGDATATMP as much as possible.
Diffstat (limited to 'localwebstats')
-rwxr-xr-x | localwebstats | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/localwebstats b/localwebstats index 30a9020..2dec780 100755 --- a/localwebstats +++ b/localwebstats @@ -181,7 +181,7 @@ HideReferrer $DOMAIN/ # NB! This file is automatically generated. Do not edit directly! # Instead, put additions/overrides in $AWSTATS_CFG.local -LogFile=\"$LOGDATARESOLVED\" +LogFile=\"$LOGDATATMP\" LogFormat=4 DNSLookup=0 DirData=\"/var/cache/awstats\" @@ -239,5 +239,6 @@ ShowFlagLinks=0 $AWSTATS_BIN -config=$WEBSITE $AWSTATS_OPTIONS -output > $STATSDIR/awstats/index.html awstats_setlog /etc/awstats/awstats.$WEBSITE.conf $LOGDATATMP fi + gzip -9 $LOGDATA fi done |