Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Dec 1999 21:51:28 +0100 (CET)
From:      Dominik Brettnacher <domi@saargate.de>
To:        "freebsd@deepwell.com" <freebsd@deepwell.com>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: httpd log rotate
Message-ID:  <Pine.BSF.4.10.9912072148370.38401-100000@dominik.saargate.de>
In-Reply-To: <fc.3b9aca00cdac658e3b9aca008e65accd.1e2211@saargate.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 7 Dec 1999, freebsd@deepwell.com wrote:

> I'm looking for something slightly different.  I'm looking to use a daily 
> cron script to append each log file to a compressed logfile, and then 
> resume logging to a new uncompressed log.  Many of the logfile analyzers 
> have the ability to read compressed logs.  Is there a simple way of doing 
> this that will ensure I don't miss any data?

Firstly, move all logfiles to another directory (on the same partition),
then do an apachectl graceful (or something similar). Apache will use the
old files until it gets the signal.


-- 
Dominik - http://www.saargate.de/~domi/




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9912072148370.38401-100000>