logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Warrick Wilson <guywithd...@gmail.com>
Subject How to force log4net to refresh timezone information?
Date Thu, 23 May 2013 03:55:22 GMT
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?

Mime
View raw message