httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Reinhardt" <crypto...@cryptodan.net>
Subject Re: [users@httpd] Custom Log Format -> Adding milliseconds to timestamp -> %{format}t
Date Thu, 18 Feb 2010 21:01:49 GMT

--------------------------------------------------
From: "Eric Covener" <covener@gmail.com>
Sent: 18 February, 2010 20:26
To: <users@httpd.apache.org>
Subject: Re: [users@httpd] Custom Log Format -> Adding milliseconds to 
timestamp -> %{format}t

> On Thu, Feb 18, 2010 at 3:20 PM, Daniel Reinhardt
> <cryptodan@cryptodan.net> wrote:
>
>>> 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:
>
>> Actually the log file does show the time and date of the request being made:
>> [18/Feb/2010:20:08:04 +0000] "GET
>
> This thread is specifically about millisecond granularity in the access log.
>
> -- 
> Eric Covener
> covener@gmail.com
>
> ---------------------------------------------------------------------
> 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
>

Then he or she will need to write something up as Syslog doesn't support 
milliseconds in time stamping.  See this IETF: 
http://www.ietf.org/rfc/rfc3164.txt.

But how much more precise does one need to get with logging?

Thanks,
Daniel

 


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