On 05/03/2013 09:59 AM, Chris Ross wrote:
> #logformat squid %ts.%03tu %6tr %>a %Ss/%03>Hs ...
> So, looking at this, %tu is made 3-characters long, zero filled,
> which makes sense as it's milliseconds, so between 0 and 999.
Zero-padding makes sense because %tu goes after a decimal point of %ts
seconds. %tu contains milliseconds after %ts seconds so together they
form a single "logging time" value: SSSSSSS.MMM (e.g., 1367437573.049).
> However, %tr, which is also documented to be milliseconds, is
> formatted into a 6-character space.
%tr contains "whole" response time, not just the sub-second portion of
response time. Both %tu and %tr are milliseconds, but %tr often exceeds 999.
> Is %tr actually in microseconds?
No.
> In which case, what about %dt?
milliseconds, as documented.
HTH,
Alex.
Received on Fri May 03 2013 - 16:23:57 MDT
This archive was generated by hypermail 2.2.0 : Sat May 04 2013 - 12:00:11 MDT