Hello,
I have a rolling file appender configured with this:
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
<file value="appname" />
<appendToFile value="true" />
<rollingStyle value="Composite" />
<datePattern value="'.'yyyyMMdd'.log'" />
<maxSizeRollBackups value="30" />
<maximumFileSize value="10MB" />
<staticLogFileName value="false" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level %logger - %message%newline" />
</layout>
</appender>
This works fine, but I was wondering if there was a way to move the old log files into an "archive" folder, instead of having them moved to the same folder?