Hi guys, I feel a little stupid here, but no matter how much I browse through the SDK, I come up with zilch...
How should my application detect that an internal error has occurred in log4net? I see that the case with a bad configuration file can be detected by testing LogManager.GetRepository().Configured, but how do I detect other errors? If say, a FileAppender for some reason is unable to open the file. I also have some vague memory of seeing a NoAppendersConfiguredError, but I can't find it now. Let's turn this question into something more general; What would you think are examples of good practises on how to implement log4net robustly in a production environment? Personally, I would like to do a series of tests in the startup of my app, just to make sure that the people that are running the applications (skilled, but not necessarily developers) get decent information when something happens... /G�ran
