摘要: 先引用log4net,然后在global.asax里的Application_Start中添加log4net.Config.DOMConfigurator.Configure(); 在设置web.config配置文件. 在web.cofig根节点 configuration 中加入如下section: <configSections> <section name="log4ne... 阅读全文
posted @ 2010-03-25 13:13 二锅头 阅读(425) 评论(0) 推荐(0)