在appender 下面加 <lockingModel type="log4net.Appender.FileAppender+MinimalLock" /> 转载于:https://www.cnblogs.com/dawn-cn/p/4433990.html