tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Hulse" <mhu...@rmcisdc3.rmc.com>
Subject Re: Logging the correct time
Date Wed, 25 Jun 2003 13:06:31 GMT
Well that did the trick.  There was tons of information generated by that
jsp.
The system thought "user.timezone=CENTRAL", so I added user.timezone
to a SystemDefault.properties file and set it to EST.  Everything is fine
now
and it is adjusted to daylight time.

Thanks,
Mike

----- Original Message -----
From: "Tim Funk" <funkman@joedog.org>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Wednesday, June 25, 2003 8:00 AM
Subject: Re: Logging the correct time


> Doh! IIRC, the AS400 reads different properties files to load system
> properties. Also - what happens with this jsp:
> <%
> for(java.util.Enumeration e =
> System.getProperties().propertyNames();e.hasMoreElements() ;){
>     Object x = e.nextElement();
>     out.println(x + "=" + System.getProperty(x.toString()));
> }
> %>
>
> See if a System property user.timezone is filled in or the AS400 JVM might
> use a different one.
>
> -Tim
>
> Mike Hulse wrote:
> > I was afraid someone would ask what platform.  :)  I am using an IBM
AS400.
> > The universal time offset is -4:00 hours. Which is EDT.  Apache is
recording
> > time in its logs correctly.  Tomcat 4.1.24 stand-alone logs are the only
> > place that
> > that the time is not correct.
> >
> > ----- Original Message -----
> > From: "Jason Bainbridge" <jason@jblinux.org>
> > To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> > Sent: Wednesday, June 25, 2003 7:18 AM
> > Subject: Re: Logging the correct time
> >
> >
> >
> >>On Wed, 25 Jun 2003 19:04, Mike Hulse wrote:
> >>
> >>>Hi,
> >>>
> >>>Where do I set/adjust the time that is recorded in the log files?
> >>>Everything is 6 hours off.  I am in EDT (USA Eastern Daylight time)
> >>>and it looks like everything is CDT (Central European Daylight time).
> >>
> >>Are you using Windows 2000 with SP3 installed by any chance? MS does
some
> >>funny business with the installation of SP3 that stuffs up the timezone
> >>settings for the JRE. Try changing to a different timezone in windows,
> >
> > then
> >
> >>switch back to the correct one and restart Tomcat.
> >>
> >>If you are using a different environment please post details.
> >>
> >>Regards,
> >>--
> >>Jason Bainbridge
> >>http://jblinux.org
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >>
> >>
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>



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


Mime
View raw message