logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Steele" <pste...@maxiscale.com>
Subject RE: Timestamps and time zones
Date Mon, 20 Oct 2008 22:19:55 GMT
>The following patch to the extras companion should allow  
>an %d pattern in an EnhancedPatternLayout without a explicit timezone  
>to follow changes to the default timezone without an undue performance

>hit.  The timezone should be updated at most once a second, since  
>CachedDateFormat should handle the more frequent calls.   I've run the

>standard unit tests against it and it didn't break anything, but I  
>haven't attempted to test it while changing the system timezone.
>
>I'd appreciate your feedback.  If the works for you, we could consider

>this for the next release of the extras companion.

I'll give this a try. I've never built log4j from src before, which
means
I've never tried this companions module before either. I'll see what I
can
do to get a new jar file build with your patched code and then give it a
try in our app. Thanks for the help.


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


Mime
View raw message