I have an application which initializes log4net from one appdomain and needs to use it in another appdomain. Is it supported?
If not, should I initialize log4net from each appdomain? Is there a risk in multiple initializations in the same application? Should I use the same log4net.config?
The log4net-user mailing list has an answer that works with RollingFileAppender. Add the following line to the appender in log4net.config:
<lockingModel type="log4net.Appender.FileAppender+MinimalLock" />