You are not logged in.

#1 2005-11-15 02:20:46

Corneliax
Member
From: Indianapolis, IN
Registered: 2004-04-27
Posts: 43
Website

AWSTATS with variable access_log name

I'm running Apache and it's configured to write to /var/log/httpd/access_log; however, my logs are broken up as access_log.1, access_log.2, etc. It seems like each log is a weekly backup, but since I never configured the system to do this, I'm not exactly sure.

The problem with this is that when I run Awstats, it only picks up what is in the current access_log file. It has some configuration options for dynamic file names, but I haven't had any luck matching Arch's setup.

Is there a specific time that the access_log gets split? If so, I suppose I could schedule a cron job to run Awstats. Any other suggestions?

-----
edit
found logrotate in /etc/cron.daily, does anyone have Awstats working with their rotated logs?
-----

Thanks

Offline

Board footer

Powered by FluxBB