Ceike said everything was done in local time.
----- Original Message ----- From: "Tim Collins" <[EMAIL PROTECTED]> To: "'LOG4J Users Mailing List'" <[EMAIL PROTECTED]> Sent: Tuesday, October 16, 2001 4:29 PM Subject: RE: UTC Timestamp > thanks..the problem is not actually with the format but the fact that it is > being written in local time not in UTC(Coordinated Universal Time) > Since the events are stored in utc i thought there would be an easy way to > do this. > > explicitly giving the pattern still prints it in local time as does giving > it ISO8601 as the pattern. > Any ideas? > thanks > -Tim > > -----Original Message----- > From: T Master [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 16, 2001 3:21 PM > To: LOG4J Users Mailing List > Subject: Re: UTC Timestamp > > > Use this in your properties file: > > log4j.appender.MyDestination.layout.ConversionPattern=%d{YYYY-mm-dd > HH:mm:ss,SSS} %c %m %n > > Modify the date format after the %d and within the { } to suit UTC format. > > My 2cents worth!! > > T Master > > > ----- Original Message ----- > From: "Tim Collins" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, October 16, 2001 4:00 PM > Subject: UTC Timestamp > > > > > > Hi all, > > Im trying to find a simple way to have my log write the timestamp in UTC > > instead of localtime. I dont see any options for this in the > PatternLayout > > documentation orany where else for that matter. I know the events are > > stored as UTC so i asssume there is an easy way to do this , I just dont > > know it > > > > any help would be greatly appreciated > > thanks > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]