Re: [users@httpd] W3C Extended Log Format

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

 



I use the combined log format, with the elapsed request time as the last element.
My LogFormat directive is :

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %D" combined

The %D stands for "Time taken to serve the request, in microseconds"

the result log entry is, for example :

192.168.1.100 - - [01/Mar/2006:17:31:00 +0100] "GET /jsp-examples/ HTTP/1.1" 200 16576 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv: 1.8.0.1) Gecko/20060 111 Firefox/1.5.0.1" 6560

The custom log format is described in  http://httpd.apache.org/docs/2.2/mod/mod_log_config.html#formats

Rgds
Antoine.

2006/4/6, Bernie Durfee < bernard.durfee@xxxxxxxx>:
Is there a way to have Apache 2.2 output access logs in W3C "Extended Log Format"? I'm specifically trying to get
elapsed request time into the log, in a standard way, so that I can pick the value up in WebTrends 7. It seems like the
W3C format is the only way that it can get into the log and be picked up by WebTrends. Any ideas?

Thanks,
Bernie

---------------------------------------------------------------------
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