Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2000 23:44:00 +0100
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        Arcady Genkin <a.genkin@utoronto.ca>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: apache logs unsorted
Message-ID:  <20000329234400.D50487@strontium.scientia.demon.co.uk>
In-Reply-To: <87k8ilzc31.fsf@tea.thpoon.com>
References:  <5FE9B713CCCDD311A03400508B8B30137DABC5@bdr-xcln.is.matchlogic.com> <87og7xzdoc.fsf@tea.thpoon.com> <87k8ilzc31.fsf@tea.thpoon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000329234400.D50487>