[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Running Webalizer after logfile split but before rotation



I've compiled Webalizer 2.01 to run on my Raq4 and stats ARE being generated
nightly for each site.  I want to schedule Webalizer to run AFTER the
/var/log/httpd/access logfile is split but BEFORE it is rotated/compressed
to avoid any holes in my stats.  I currently have webalizer.pl scheduled to
run at 4:30 AM which is calling webalizer twice, once on each site's web.log
then on each site's web.log.*.gz.  This is inefficient but works for the
time being (there's only a few low traffic sites on the machine).

Should webalizer.pl be called from /etc/logrotate.d/apache?  If so, where?
Any other suggestions?

In addition, I am unable to logon to www.domain/stats on FrontPage enabled
webs (even as admin).  Publishing with FrontPage is not an issue because I
have already changed the webalizer.pl script to chown the logfiles as nobody
as suggested in the archives.

Thanks in advance any suggestions.

James Lenhart