Date: Thu, 15 Feb 2007 01:27:39 -0600 From: Peter Pluta <peter@placidpublishing.net> To: freebsd-questions@freebsd.org Subject: Apache Rotate Logs and Log Rotate Message-ID: <45D40B6B.7090107@placidpublishing.net>
next in thread | raw e-mail | index | archive | help
I have Apache making separate log files for each of my virtual hosts and putting them in /home/vhostname/log. Rotate logs makes a new log every 24 hours, but the logs quickly add up and since the sites are fairly busy the logs are at times over 5gigs. Is there any way to make rotate logs delete the log files after two days? Someone recommended me Log Rotate (from the ports tree), but this program does basically what Rotate logs does; except it makes things more complicated because it needs to restart apache and such. Is there a easy way to just have Apache's rotatelogs rotate the logs and then delete them after two days? Any feedback, suggestions, or comments would be greatly appreciated. Thanks, Peter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45D40B6B.7090107>