Re: Custom Log Format -> Adding milliseconds to timestamp -> %{format}t

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

 




--------------------------------------------------
From: "Eric Covener" <covener@xxxxxxxxx>
Sent: 18 February, 2010 20:26
To: <users@xxxxxxxxxxxxxxxx>
Subject: Re: Custom Log Format -> Adding milliseconds to timestamp -> %{format}t

On Thu, Feb 18, 2010 at 3:20 PM, Daniel Reinhardt
<cryptodan@xxxxxxxxxxxxx> 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@xxxxxxxxx

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


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