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 2003/07/07 11:15:41 UTC
DO NOT REPLY [Bug 18467] -
Incorrect timezone value in access logs
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