We are using Log4j 1.2.7 in our app and have recently found a problem
that seems to only occur with JVM 1.3.

We deploy on Windows and require the system time to be set to GMT.  Windows
has two settings for GMT, 

GMT - Greenwich mean time
GMT - Casablanca

"Greanwhich mean time" there is a checkbox that determines whether the
server recoginizes daylight saving time, while "Casablanca" does not.

We found a problem where, if we set the server set "GMT - Greenwich mean
time",
and not check the checkbox for DST, all timestamp generated with
PatternLayout 
are off by an hour.  Furthermore, we've found the DailyRollingFileAppender
rolls
the logfile over at 23:00:00 instead of midnight.  If we change the timezone
to
"GMT - Casablanca", everything seems to work fine.  Unfortunately, if we use
"GMT - Casablanca", all the times stored in our database are now off by an
hour.

We do not, however, see this problem with JVM 1.4.

Has anyone else seen this before?   Can anyone give me an explanation?

Dave
(Who HATES timezones!!!!)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to