tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54044] AccessLogValve using stale date/time with SimpleDateFormat
Date Tue, 23 Oct 2012 21:24:44 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54044

--- Comment #1 from Rainer Jung <rainer.jung@kippdata.de> ---
Note that begin times can be old if your request take a long time to finish.

Can you please add %D to your pattern, which will output the request duration
in milliseconds. This is to check, whether the old time stamps belong to
requests that took very long in processing.

I suggest:

%{X-Tomcat-Session}i,%S,%{X-Forwarded-For}i,%h,%u,%{begin:yyyy-MM-dd
HH:mm:ss.SSSZ}t,&quot;%r&quot;,%s,%b,%p,%{Referer}i,&quot;%{User-Agent}i&quot;,%T,%{begin},%{end},%{end:yyyy-MM-dd
HH:mm:ss.SSSZ}t,%D"

during this debugging so you can check the consistency of begin time, end time
and duration as well as consistency with the CLF formatted begin and end time
stamps which are formatted by a slightly different format cache.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message