From owner-freebsd-isp Tue Dec 7 12:53:12 1999 Delivered-To: freebsd-isp@freebsd.org Received: from dominik.saargate.de (p3E9D37E9.dip0.t-ipconnect.de [62.157.55.233]) by hub.freebsd.org (Postfix) with ESMTP id E11BD14D49 for ; Tue, 7 Dec 1999 12:52:44 -0800 (PST) (envelope-from domi@saargate.de) Received: from localhost (localhost [127.0.0.1]) by dominik.saargate.de (8.9.3/8.9.3) with ESMTP id VAA38406; Tue, 7 Dec 1999 21:51:28 +0100 (CET) (envelope-from domi@saargate.de) Date: Tue, 7 Dec 1999 21:51:28 +0100 (CET) From: Dominik Brettnacher To: "freebsd@deepwell.com" Cc: freebsd-isp@freebsd.org Subject: Re: httpd log rotate In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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