log4net across appdomains

前端 未结 5 1480
失恋的感觉
失恋的感觉 2020-12-30 02:18

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 fro

5条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-30 03:16

    The log4net-user mailing list has an answer that works with RollingFileAppender. Add the following line to the appender in log4net.config:

    
    

提交回复
热议问题