AWStats and Apache Log


#1

Hi,

I have AWStats installed for some of my domains. It was OK at the very beginning but now I am sure a lot of records are not included.

I’m using a version of AWStats that I can press a key to update (read the data from Apache log and then update the statistics). If I don’t do it for a day, the # of visitors would become 0 for that day and that is obvious impossible.

I guess DH only keeps the Apache logs on server for 24 hrs since a log file over 2 GB problem, and this causes the problem.

I do not use Cron to schedule the update because I think this would not solve the problem completely neither.

Anyone has experienced the same problem?

I’m on Monster.

Martin Lam
http://www.game.st


#2

Daily log files roll over to compressed format (log-name.gz) after a day or so. You’ll have to point to the correctly named old file, to use it. You can adjust how many days are saved, in the panel under Status, Site Statistics.

tor.eff.org
Promos: MaxTOR: Save [color=#CC0000]Maximum[/color] TOR: Save Maximum and [color=#00CC00]give $1 to TOR[/color]


#3

Dear Tor,

Thank you for your kindly advice.

I have adjusted it to keep 14 days for the logs and am monitoring if the statistics would eventually be improved. :slight_smile:

Martin Lam
http://www.game.st


#4

Hi,

Thanks to Tor’s suggestion, my AWStats works properly now. :slight_smile:

Martin Lam
http://www.game.st