How can I make Webalizer work with rolling apache logs?

Posted by Simon on Server Fault See other posts from Server Fault or by Simon
Published on 2010-04-29T10:27:38Z Indexed on 2010/04/29 10:27 UTC
Read the original article Hit count: 865

Filed under:
|
|

I am using Webalizer to view my site stats, and it's working ok with one exception; I have log rolling configured so my log directory looks something like this:

:/var/log/apache2$ ls
access.log
access.log.1
access.log.2.gz
access.log.3.gz
...

Webalizer ends up only storing the last ~4 days each time it runs, so I only ever get a rolling window of stats rather than the full month. How can I make Webalizer process the full set of logs?

© Server Fault or respective owner

Related posts about apache2

Related posts about log-files