Hi John, Its in the file /etc/logrotate.d/apache I don't know what the exact settings should be for your case. You could change the /etc/logrotate.conf but that would affect all the logs. See "man logrotate". Also you could take apache out of logrotate.d and set up a rotation yourself by setting up a shell script that rename the logs and reload apache to create the new log and set that up as a cron job.
As far as webalizer is concerned you can do a incremental processing. I personally rotate apache every 4 hours because my people want to see the new stats that often. See the webalizer options here ftp://ftp.mrunix.net/pub/webalizer/README/ Webalizer keeps a history file so you can rotate the logs however often you want. Just make sure webalizer runs before the next rotation. Floyd www.newwebsite.com ----- Original Message ----- From: "John Canfield" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 21, 2003 10:08 AM Subject: [Apache-FP] Off topic: Apache log rotation > Hi all, > > I'm a bit of a Linux klutz even after hacking around with it for a few > years. Can somebody give me a hand with how to change the Apache log > rotation interval? They are apparently set to rotate every seven days and I > want to change that to every 31 days (or ideally rotate every month -30 or > 31 days) because I have just installed Webalizer and it needs a month of > data for the big picture. > > I have scoured the httpd.conf file for a logrotate parameter, and see no > pointers to anything else that might be a log rotate function (like > specifying the number of seconds). The docs I've read about httpd.conf log > stuff don't seem to match what I have concerning logs. > > Maybe I'm missing an obvious Redhat thing about log rotation? > > Running RH 8.0, Joshie's FP stuff, and Apache 1.3.27. > > Thanks, > > John > [EMAIL PROTECTED] > > > > _______________________________________________ > Apache-FP mailing list > [EMAIL PROTECTED] > http://lists.joshie.com/mailman/listinfo/apache-fp > > Donations: > http://www.amazon.com/paypage/PT5LZITM9L227 > _______________________________________________ Apache-FP mailing list [EMAIL PROTECTED] http://lists.joshie.com/mailman/listinfo/apache-fp Donations: http://www.amazon.com/paypage/PT5LZITM9L227