日期:2014-05-17 浏览次数:21135 次
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<log4net debug="true">
<!--日志记录器logger,可以有多个-->
<logger name="fileLog">
<level value="ALL" />
<appender-ref ref="ConsoleAppender" />
<!--<appender-ref ref="LogFileAppender" />-->
<appender-ref ref="RollingLogFileAppender" />
<appender-ref ref="ADONetAppender"/>
</logger>
本来是 <log4net>
<log4net debug="true">