From owner-freebsd-isp Tue Dec 7 13:44:35 1999 Delivered-To: freebsd-isp@freebsd.org Received: from roble.com (roble.com [206.40.34.50]) by hub.freebsd.org (Postfix) with ESMTP id E57C414E0C for ; Tue, 7 Dec 1999 13:44:31 -0800 (PST) (envelope-from sendmail@roble.com) Received: from roble2.roble.com (roble2.roble.com [206.40.34.52]) by roble.com (Roble1b) with SMTP id NAA18661 for ; Tue, 7 Dec 1999 13:44:34 -0800 (PST) Date: Tue, 7 Dec 1999 13:44:31 -0800 (PST) From: Roger Marquis To: 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 > 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. This will work as long as you're able to do an `apachectl graceful` without interrupting any downloads in progress or other persistent connections. Otherwise copying (instead of moving) the log files and clearing the originals will accomplish what you need. The later method does have a small windows where log entries could be lost but in practice this doesn't occur except on _very_ heavily loaded servers with slow filesystems. -- Roger Marquis Roble Systems Consulting http://www.roble.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message