From owner-freebsd-questions Wed Mar 29 13:43:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail1.rdc3.on.home.com (mail1.rdc3.on.home.com [24.2.9.40]) by hub.freebsd.org (Postfix) with ESMTP id D2AB137B572 for ; Wed, 29 Mar 2000 13:43:47 -0800 (PST) (envelope-from antipode@thpoon.com) Received: from tea.thpoon.com ([24.114.152.71]) by mail1.rdc3.on.home.com (InterMail v4.01.01.00 201-229-111) with ESMTP id <20000329214346.DSAI22349.mail1.rdc3.on.home.com@tea.thpoon.com> for ; Wed, 29 Mar 2000 13:43:46 -0800 Received: from antipode by tea.thpoon.com with local (Exim 3.12 #1 (Debian)) id 12aQFe-0000h4-00 for ; Wed, 29 Mar 2000 16:43:46 -0500 To: freebsd-questions@FreeBSD.ORG Subject: Re: apache logs unsorted References: <5FE9B713CCCDD311A03400508B8B30137DABC5@bdr-xcln.is.matchlogic.com> <87og7xzdoc.fsf@tea.thpoon.com> X-Face: 0=A/O5-+sE[Tf%X>rYr?Y5LD4,:^'jaJ!4jC&UR*ZrrK2>^`g22Qeb]!:d;}2YJ|Hq"LHdF OX`jWX|AT-WVFQ(TPhFVak)0nt$aEdlOq=1~D,:\z5QlVOrZ2(H,mKg=Xr|'VlHA="r Organization: Wgaf From: Arcady Genkin Date: 29 Mar 2000 16:43:46 -0500 In-Reply-To: Arcady Genkin's message of "Wed, 29 Mar 2000 16:18:43 -0500" Message-ID: <87k8ilzc31.fsf@tea.thpoon.com> Lines: 23 User-Agent: Gnus/5.0803 (Gnus v5.8.3) XEmacs/21.1 (Bryce Canyon) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Arcady Genkin 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