I have a copied application file 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 is a way to move the old log files to the archive folder, instead of moving them to the same folder?
Karma_Police
source share