Date: Tue, 7 Dec 1999 13:44:31 -0800 (PST) From: Roger Marquis <marquis@roble.com> To: freebsd-isp@FreeBSD.ORG Subject: Re: httpd log rotate Message-ID: <Pine.GSO.3.96.991207133441.11886C-100000@roble2.roble.com> In-Reply-To: <Pine.BSF.4.10.9912072148370.38401-100000@dominik.saargate.de>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.991207133441.11886C-100000>