Date: Fri, 23 Apr 2004 12:54:07 +0930 From: Tim Aslat <tim@spyderweb.com.au> To: freebsd-questions@freebsd.org Subject: Re: newsyslog and apache Message-ID: <20040423125407.5ac821a3@bofh.spyderweb.com.au> In-Reply-To: <20040423031813.M68872@enabled.com> References: <20040322110622.M15380@enabled.com> <20040322115421.GB82093@users.munk.nu> <20040423025219.M5326@enabled.com> <20040423123602.0152baa1@bofh.spyderweb.com.au> <20040423031813.M68872@enabled.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In the immortal words of "Noah" <admin2@enabled.com>... > Okay this looks like a viable option. can rotatelogs also age out and > delete log files that are older than 30 days? And does it compress > the log files as well? No, but it isn't hard to come up with a script to proces the logs in any way you see fit. Regardless of what you choose to do to the logs, you don't have to restart apache, which I thought was the main object of your question. The main advantage to doing it this way is that the logs will be pretty much rotated simultaneously by apache, so a couple of minutes after it's scheduled, you can run a script to compress, analyse, delete or whatever the rotated logfile. Cheers Tim -- Tim Aslat <tim@spyderweb.com.au> Spyderweb Consulting http://www.spyderweb.com.au P: +61 8 82243020 M: +61 0401088479
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040423125407.5ac821a3>