tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18467] - Incorrect timezone value in access logs
Date Mon, 07 Jul 2003 09:15:41 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18467>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18467

Incorrect timezone value in access logs





------- Additional Comments From yuri@zip.com.au  2003-07-07 09:15 -------
Firstly.  The original bug report has an error.

The example log line should be + 2 hours.  Not + 20.  Two problems in fact.  One
is the missing +, and the other is the added 0 in the wrong place.  

It should be

127.0.0.1 - - [28/Mar/2003:11:21:46 +0200] "POST /myservlet HTTP/1.1" 200 -

The original code obviously assumes noone runs webservers east of Greenwich. :)

Also using DateFormat would include daylight savings, and possibly convert to a
three letter string e.g. EST, EET, CST etc

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


Mime
View raw message