log4net 不生成日志文件的解决办法

代码里别忘了加上:


log4net.Config.XmlConfigurator.Configure();

原文地址:https://www.cnblogs.com/rav009/p/5131176.html