Log rotation is dealt with by a series of scripts in /etc/logrotate. Type
"man logrotate" for the manual. Is that enough to get you started?

Tim Clarke

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Canfield
Sent: 21 October 2003 15:09
To: [EMAIL PROTECTED]
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 

Reply via email to