Re: [users@httpd] Unsorted timestamping in Apache2 log files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/18/06, mdemuro@xxxxxxxxxx <mdemuro@xxxxxxxxxx> 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. 
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 <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux