日志文件输出格式:
20130626.txt
20130627.txt
20130628.txt
20130629.txt
<appender name="rolling" type="log4net.Appender.RollingFileAppender, log4net">
<file value="logs/"/>
<appendToFile value="true"/>
<rollingStyle value="Date"/>
<param name="StaticLogFileName" value="false"/>
<datePattern value="yyyyMMdd".txt""/>
<layout type="log4net.Layout.PatternLayout,log4net">
<param name="ConversionPattern" value="%d{ABSOLUTE} %c{1}(%L) [%-5p] - %m%n"/>
</layout>
<!--使用最小锁定模型(minimal locking model),以允许多个进程可以写入同一个文件 -->
<lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
</appender>