Hi

 

I'm wondering, how often does your deployment computer travel from one
timezone to another while it is powered on?

 

Cheers,

D.

 

Von: Warrick Wilson [mailto:guywithd...@gmail.com] 
Gesendet: Donnerstag, 23. Mai 2013 05:55
An: log4net-user@logging.apache.org
Betreff: How to force log4net to refresh timezone information?

 

I've inherited a project that users log4net to do some logging. One of the
things that got noticed was that changes to the timezone on the PC that the
program runs on don't get the logging times changed (e.g. changing the
timezone from Pacific to Eastern does not change the logging time by 3
hours)

 

The program code that was written by "us" has routines in that trap an event
for timezone changes and call TimeZoneInfo.ClearCachedData() (something like
that... doing this from memory).

 

Is there a call that can be made to get the log4net "innards" to do the same
sort of thing?

Reply via email to