You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2012/10/23 23:24:44 UTC
[Bug 54044] AccessLogValve using stale date/time with
SimpleDateFormat
https://issues.apache.org/bugzilla/show_bug.cgi?id=54044
--- Comment #1 from Rainer Jung <ra...@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,"%r",%s,%b,%p,%{Referer}i,"%{User-Agent}i",%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