From owner-freebsd-questions Wed Mar 29 14:44:19 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 17CC537B5BB for ; Wed, 29 Mar 2000 14:44:12 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.12 #1) id 12aRBw-000HcV-00; Wed, 29 Mar 2000 23:44:00 +0100 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.12 #7) id 12aRBw-0000aZ-00; Wed, 29 Mar 2000 23:44:00 +0100 Date: Wed, 29 Mar 2000 23:44:00 +0100 From: Ben Smithurst To: Arcady Genkin Cc: freebsd-questions@FreeBSD.ORG Subject: Re: apache logs unsorted Message-ID: <20000329234400.D50487@strontium.scientia.demon.co.uk> References: <5FE9B713CCCDD311A03400508B8B30137DABC5@bdr-xcln.is.matchlogic.com> <87og7xzdoc.fsf@tea.thpoon.com> <87k8ilzc31.fsf@tea.thpoon.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <87k8ilzc31.fsf@tea.thpoon.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Arcady Genkin wrote: > Is there a way to ask apache to flush the log buffers? I want to set > up daily log rotation, so it would be useful to have such command to > bring logs up-to-date... 'apachectl graceful' does a graceful restart. Note that no processes are guaranteed to flush their logs straight away - IIRC they do so (as well as restarting themselves, I think) when they've finished their current request, which could be a while if they're talking to a slow client. I think Apache's web site has more information on this. -- Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message