且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

跨应用程序域的 log4net

更新时间:2023-11-22 21:39:28

log4net-user 邮件列表有一个适用于 RollingFileAppender 的答案.将以下行添加到 log4net.config 中的 appender:

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" />