Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 14350 invoked from network); 18 Jan 2006 15:00:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Jan 2006 15:00:17 -0000 Received: (qmail 60209 invoked by uid 500); 18 Jan 2006 14:59:49 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 60200 invoked by uid 500); 18 Jan 2006 14:59:49 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 60189 invoked by uid 99); 18 Jan 2006 14:59:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jan 2006 06:59:48 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jslive@gmail.com designates 64.233.184.207 as permitted sender) Received: from [64.233.184.207] (HELO wproxy.gmail.com) (64.233.184.207) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jan 2006 06:59:48 -0800 Received: by wproxy.gmail.com with SMTP id 70so1585877wra for ; Wed, 18 Jan 2006 06:59:27 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=obSRBCONKm6DW3Zw8RbMnL6s0apROV0pOrogCCv4FkxcOzVXgnf8bD7LBhGVG5syLbQFXAgeyZ4TpGfEYpl1Qtom+s6Webxgb2RamdFD7jw8KuX4ZPBJ6ka29sxkWortcLYAVp7rf0gFuSiG1l/ZNDWS+VPubg0N3mKsyciQUwg= Received: by 10.65.186.11 with SMTP id n11mr4772198qbp; Wed, 18 Jan 2006 06:59:27 -0800 (PST) Received: by 10.64.253.3 with HTTP; Wed, 18 Jan 2006 06:59:27 -0800 (PST) Message-ID: Date: Wed, 18 Jan 2006 09:59:27 -0500 From: Joshua Slive Sender: jslive@gmail.com To: users@httpd.apache.org In-Reply-To: <43A945FF00057C62@mail-2.mail.tiscali.sys> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <43A945FF00057C62@mail-2.mail.tiscali.sys> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Unsorted timestamping in Apache2 log files X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 1/18/06, mdemuro@tiscali.it wrote: > Hi, > I have problems with throughput calculation from log files in apache2. > Using "classic" awk scripts the output is messy due to the fact that > the lines in the log are not sorted with respect to time. > In fact each line of the logs has the timestamp of when the request > has been made; this means that different response times urls have > different orders depending on the response time itself. > > - Is this a known bug? (with correspondig fix...) > - Is there any configuration workaround? (I cannot fix the source > code and recompile it) Apache logs are not sorted by time. That is just a fact, not a bug.=20 The time is calculated when the request is received but the log line is written after the response is sent. You can easily sort them yourself after-the-fact if you need time-sorted logs. Otherwise, there is no "solution" that doesn't involve recompiling. Joshua. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org