Hi,
I am having a
question regarding the initialization of log4net. I am trying to initialize the
log4net in the following manner
XmlConfigurator.ConfigureAndWatch(new FileInfo(fileName))
Even if I pass an invalid ( not well formed) xml it doesn't throw any exception and doesn't let my application know about it. Even if I pass a semantically invalid xml ( say with reference to non existing appender ) to it, it doesn't let my application know that something is wrong; it just dumps the output on console. I want my application to know whether log4net is initialized properly or not. How do I go about this? Is there some property/method, through which I can check the same?
Thanks,
-Amit Makhija
