Howdy,
This is not a log4j issue, it's a JDK problem.  I use Windows 2000, have
GMT - 5 (US, Canada -- I'm in Boston) with the "automatically adjust for
daylight savings time" box checked, and have never had any problems...

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Dave Rathnow [mailto:[EMAIL PROTECTED]
>Sent: Friday, August 22, 2003 4:54 PM
>To: '[EMAIL PROTECTED]'
>Subject: Problems with timestamp with Log4j and JVM 1.3
>
>
>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]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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

Reply via email to