<appender name="FileAppender" type="log4net.Appender.RollingFileAppender">
<file value="logs\" />
<appendToFile value="true" />
<rollingStyle value="Date" />
<maxSizeRollBackups value="30" />
<datePattern value="yyyy-MM-dd'.txt'" />
<staticLogFileName value="false" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%d{yyyy-MM-dd HH:mm} %-5level %message%newline%exception" />
</layout>
<lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
</appender>
不支持在日期/时间边界滚动时的最大备份文件数。谁能取悦我