It looks as though in 2003 or so NCSARequestLog
would pick up the system time zone using TimeZone.getDefault().getID()
, but in more recent versions it seems as though it's hard-coded to GMT, unless you override it in jetty.xml
or programmatically.
If true, this kind of annoying, since it means if you don't want GMT logging you have to edit jetty.xml
for every installation (not to mention twice a year for daylight saving time). Is there a workaround that will let Jetty pick the time zone up from the system?
(X-posted to Server Fault.)