From owner-freebsd-isp Tue May 18 6: 5:12 1999 Delivered-To: freebsd-isp@freebsd.org Received: from hyperion.eclipse.net.uk (hyperion.eclipse.net.uk [195.188.32.122]) by hub.freebsd.org (Postfix) with ESMTP id 663E315170 for ; Tue, 18 May 1999 06:04:27 -0700 (PDT) (envelope-from stuart@eclipse.net.uk) Received: from eclipse.net.uk (elara.eclipse.net.uk [195.188.32.31]) by hyperion.eclipse.net.uk (8.9.3/8.9.3) with ESMTP id OAA73137; Tue, 18 May 1999 14:04:15 +0100 (BST) Message-ID: <374165EF.1BB22A14@eclipse.net.uk> Date: Tue, 18 May 1999 14:06:55 +0100 From: Stuart Henderson Organization: Eclipse Networking Ltd. X-Mailer: Mozilla 4.51 [en] (WinNT; U) X-Accept-Language: en-GB MIME-Version: 1.0 To: Mike Fisher , freebsd-isp@freebsd.org Subject: Re: Web Statistics break up program. References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mike Fisher wrote: > I don't think that will work, as-is. I think that it is necessary > to send apache a signal to get it to rotate its logs. Very true, this will do the trick: kill -1 `cat /var/run/httpd.pid` Otherwise Apache will start writing at the same offset i.e. leave a load of blank space at the start of the new log file. I'm not sure whether this is written as a sparse file or not (if so it's not too much of a problem but the reported size might end up a little scary :) Stuart To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message