If possible, log in UTC. Daylight time causes amusing problems in logs, like 
one day with 23 hours and one day with 25.

You can always convert to local time when you display it.

wunder
Walter Underwood
wun...@wunderwood.org
http://observer.wunderwood.org/  (my blog)


> On Mar 25, 2016, at 8:49 AM, Shawn Heisey <apa...@elyograg.org> wrote:
> 
> On 3/25/2016 9:32 AM, Shawn Heisey wrote:
>> Apparently we *can* use java system properties in the log4j config, so
>> saying there's no generalized solution available was premature.
> 
> Second followup:
> 
> The info I looked at about using sysprops had no version number for
> log4j, and was talking about the XML config, which is the only way to
> configure log4j2.
> 
> So I'm not even sure that we can use system properties with our current
> version.  This is something I will need to look into when I have more time.
> 
> Thanks,
> Shawn
> 

Reply via email to