[EMAIL PROTECTED] wrote:
> 
> hello there,
> 
> when the log statement is output, i found out that the time is not the same
> as the server time!
> i suspect that the TimeZone is not set properly.
> Is there a way that i can provide the TimeZone info in the configuration
> file?
> 
> log4j.appender.A2.layout.ConversionPattern=[%d] %-5p %c - %m%n
> 

Derek,

As was pointed out to me a short time ago, the time is stored UTC, so
the timezone should only depend on your locale settings.  If you are
using some kind of socket server, then the machine receiving the event
may not have its clock in synch with the machine that created the event.

- Paul Glezen

-- 
Beware of bugs in the above code.  I have
only proved it correct, not tried it.
-Don Knuth

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

Reply via email to