![]() |
||
![]() |
||
Download logs often
Clients can still use our stats program, AND download the logs to analyze using another program such as WebTrends.
Logfiles on the servers are compressed everyday and clients can download their stats
from the /home/username/domain-logs/old and unzip them on their PC with a
program called Aladdin Expander.
The directory name is based on the current yearMonth. i.e.
1999 Feb would be ./old/199902/. The logs will be stamped with the day
of the month and total minutes for each day and the time the script is
executed.
You'll need to use Aladdin Expander --> WinZip isn't good enough.
Aladdin Expander is available for download free:
http://www.aladdinsys.com/
Because you're downloading a compressed file and not the active log file, you won't need to signal Apache to tell it to reopen the logfiles.
Unzipping some logs
In order to unzip log files, you need to run this command:
gunzip filename.gz -d
# gunzip access-log-01.gz -d
______________________________
Can also use an utility:
"Aladdin Expander"
Get it at:
http://www.aladdinsys.com/