Skip site navigation (1)Skip section navigation (2)
Date:      29 Mar 2000 16:43:46 -0500
From:      Arcady Genkin <a.genkin@utoronto.ca>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: apache logs unsorted
Message-ID:  <87k8ilzc31.fsf@tea.thpoon.com>
In-Reply-To: Arcady Genkin's message of "Wed, 29 Mar 2000 16:18:43 -0500"
References:  <5FE9B713CCCDD311A03400508B8B30137DABC5@bdr-xcln.is.matchlogic.com> <87og7xzdoc.fsf@tea.thpoon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Arcady Genkin <a.genkin@utoronto.ca> writes:

> > Apache makes no guarantee on the ordering of log records. The time
> > recorded is the time that the request started. When the request
> > ends, the log record is written.
> 
> So, it seems like apache caches info before writing it into log.

After poking about and doing "apache -V", I found this:

Server compiled with....
 [ ... ]
 -D BUFFERED_LOGS
 -D PIPE_BUF=512

I guess this explains it. ;^)

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...
-- 
Arcady Genkin                                 http://www.thpoon.com
Nostalgia isn't what it used to be.


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?87k8ilzc31.fsf>