Date: Mon, 6 Aug 2001 13:08:37 -0700 From: Rob Hudson <rob@euglug.net> To: questions@freebsd.org Subject: Re: rotating web logs Message-ID: <20010806130837.Y12705@cogit8.org> In-Reply-To: <NEBBKGPPOLDBPJPLMKDICENMGEAA.marius@agoron.com> References: <NEBBKGPPOLDBPJPLMKDICENMGEAA.marius@agoron.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I just use a perl script attached to a cron job. At the start of a new month, it copies the combined_log for each virtual we host to YYYY-MM.combined_log and restarts apache. Pretty simple. > On 20010806.1548, Marius Kirschner said ... > > I was wondering, what do people use to rotate the apache web logs? I > noticed there a "rotatelogs" command but this one doesn't work from the > command line apparenly and I'd like to schedule a cron job to do that. > Thanks, > > ---Marius > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010806130837.Y12705>