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 Wed, 24 Oct 2012 19:09:58 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54044

--- Comment #3 from Casey Lucas <clucas@e-miles.com> ---
I changed log format to the one requested (had to add a 't' to the after
{begin} and {end}:

%{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}t,%{end}t,%{end:yyyy-MM-dd
HH:mm:ss.SSSZ}t,%D

The stuck/incorrect times in the data below are 10:00:04 and 10:05:40.  The
actual timespan was between 11:01:59 and 11:02:01. You can see that these are
not long duration requests (all less than a second.)


... ,2012-10-24 11:01:59.288-0500,"GET ... ,0.080,[24/Oct/2012:11:01:59
-0500],[24/Oct/2012:11:01:59 -0500],2012-10-24 11:01:59.368-0500,80
... ,2012-10-24 11:01:59.568-0500,"GET ... ,0.006,[24/Oct/2012:11:01:59
-0500],[24/Oct/2012:11:01:59 -0500],2012-10-24 11:01:59.574-0500,6
... ,2012-10-24 11:01:59.755-0500,"POST ... ,0.246,[24/Oct/2012:11:01:59
-0500],[24/Oct/2012:11:02:00 -0500],2012-10-24 11:02:00.001-0500,246
... ,2012-10-24 10:05:40.932-0500,"GET ... ,0.088,[24/Oct/2012:10:05:40
-0500],[24/Oct/2012:10:00:04 -0500],2012-10-24 10:00:04.020-0500,88
... ,2012-10-24 10:00:04.020-0500,"GET ... ,0.002,[24/Oct/2012:10:00:04
-0500],[24/Oct/2012:10:00:04 -0500],2012-10-24 10:00:04.022-0500,2
... ,2012-10-24 11:01:59.753-0500,"GET ... ,0.313,[24/Oct/2012:11:01:59
-0500],[24/Oct/2012:10:00:04 -0500],2012-10-24 10:00:04.066-0500,313
... ,2012-10-24 10:00:04.072-0500,"GET ... ,0.001,[24/Oct/2012:10:00:04
-0500],[24/Oct/2012:10:00:04 -0500],2012-10-24 10:00:04.073-0500,1
... ,2012-10-24 10:05:40.813-0500,"POST ... ,0.427,[24/Oct/2012:10:05:40
-0500],[24/Oct/2012:10:00:04 -0500],2012-10-24 10:00:04.240-0500,427
... ,2012-10-24 10:00:04.227-0500,"GET ... ,0.079,[24/Oct/2012:10:00:04
-0500],[24/Oct/2012:10:00:04 -0500],2012-10-24 10:00:04.306-0500,79
... ,2012-10-24 11:02:00.370-0500,"GET ... ,0.013,[24/Oct/2012:11:02:00
-0500],[24/Oct/2012:11:02:00 -0500],2012-10-24 11:02:00.383-0500,13
... ,2012-10-24 11:02:00.398-0500,"GET ... ,0.001,[24/Oct/2012:11:02:00
-0500],[24/Oct/2012:11:02:00 -0500],2012-10-24 11:02:00.399-0500,1
... ,2012-10-24 11:02:00.684-0500,"GET ... ,0.011,[24/Oct/2012:11:02:00
-0500],[24/Oct/2012:11:02:00 -0500],2012-10-24 11:02:00.695-0500,11
... ,2012-10-24 10:00:04.379-0500,"GET ... ,0.369,[24/Oct/2012:10:00:04
-0500],[24/Oct/2012:10:00:04 -0500],2012-10-24 10:00:04.748-0500,369
... ,2012-10-24 10:00:04.363-0500,"GET ... ,0.387,[24/Oct/2012:10:00:04
-0500],[24/Oct/2012:10:00:04 -0500],2012-10-24 10:00:04.750-0500,387
... ,2012-10-24 10:00:04.922-0500,"GET ... ,0.003,[24/Oct/2012:10:00:04
-0500],[24/Oct/2012:10:00:04 -0500],2012-10-24 10:00:04.925-0500,3
... ,2012-10-24 10:00:04.972-0500,"GET ... ,0.001,[24/Oct/2012:10:00:04
-0500],[24/Oct/2012:10:00:04 -0500],2012-10-24 10:00:04.973-0500,1
... ,2012-10-24 11:02:01.089-0500,"GET ... ,0.001,[24/Oct/2012:11:02:01
-0500],[24/Oct/2012:11:02:01 -0500],2012-10-24 11:02:01.090-0500,1
... ,2012-10-24 11:02:01.088-0500,"GET ... ,0.008,[24/Oct/2012:11:02:01
-0500],[24/Oct/2012:11:02:01 -0500],2012-10-24 11:02:01.096-0500,8

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