You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-user@logging.apache.org by Rob Prouse <Ro...@Ivara.com> on 2008/03/13 21:09:11 UTC

Is there a log reloaded event?

We have converted some of our legacy unmanaged code to use log4net through wrapper classes.  For efficiency, we cache the various IsEnabled properties that our unmanaged code uses. Because it is cached, we need to know when XmlConfigurator reloads a changed configuration file so that we can clear our cache.

I have searched the SDK docs, but I couldn't find any events that I could subscribe to.  Am I missing something or does anyone have a suggestion how I can determine when the log configuration is loaded/reloaded?

Thanks in advance...

Rob Prouse
Framework Developer
Ivara