httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <tevans...@googlemail.com>
Subject Re: [users@httpd] Custom Log Format -> Adding milliseconds to timestamp -> %{format}t
Date Thu, 18 Feb 2010 17:21:32 GMT
On Thu, Feb 18, 2010 at 5:15 PM, Geoff Millikan <gmillikan@t1shopper.com> wrote:
> Dear List,
>
> Has anyone figured out how to add milliseconds to the date and time the
> request was made for logging?  Something like the below Common Log Format
> where the ":1234" represents microseconds:
>
> 127.0.0.1 - - [18/Feb/2010:17:02:37:1234 +0000] "GET /favicon.ico HTTP/1.1"
> 200 145 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"
>
> The reason I ask is because when we're doing 30 to 50 requests per second
> it's getting tough to separate log entries when we do Customer tracking
> analysis and debugging. I'm not talking about %T or %D here (time taken to
> the load the request), I'm talking about the date and time the request was
> made.
>
> Maybe setting and using an environment variable like %{FOOBAR}e would work?
>
> http://httpd.apache.org/docs/2.2/mod/mod_log_config.html#formats
>
> Thanks,
>
> http://www.t1shopper.com/
>

Have you considered using mod_unique_id?

http://httpd.apache.org/docs/2.2/mod/mod_unique_id.html

Cheers

Tom

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message