When using the Rolling Log File Appender with the
StaticLongFileName=true all .x files are not rolled over
correctly to a date based name.
See the attachment: log.txt.2 was left hanging out with
a date stamp of 8/26. This file should have been
renamed on 8/27.
<appender name="RollingLogFileAppender"
type="log4net.Appender.RollingFileAppender,log4net-net-
1.1">
<param name="File" value="log-data\\log.txt" />
<param name="AppendToFile" value="true" />
<param name="MaxSizeRollBackups" value="10" />
<param name="MaximumFileSize" value="5MB" />
<param name="StaticLogFileName" value="true" />
</appender>
Log Directory Example