diff options
-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 |