Use log-rolling on the log files (once per day)

Resolves http://opensimulator.org/mantis/view.php?id=6950
0.8.0.3
Oren Hurvitz 2013-12-02 15:18:47 +02:00
parent 368b29a680
commit 8ecab21b37
4 changed files with 12 additions and 4 deletions

View File

@ -23,9 +23,11 @@
</layout> </layout>
</appender> </appender>
<appender name="LogFileAppender" type="log4net.Appender.FileAppender"> <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender">
<file value="OpenSim.32BitLaunch.log" /> <file value="OpenSim.32BitLaunch.log" />
<appendToFile value="true" /> <appendToFile value="true" />
<rollingStyle value="Date" />
<datePattern value="'.'yyyy-MM-dd"/>
<filter type="log4net.Filter.LoggerMatchFilter"> <filter type="log4net.Filter.LoggerMatchFilter">
<loggerToMatch value="special"/> <loggerToMatch value="special"/>
<acceptOnMatch value="false"/> <acceptOnMatch value="false"/>

View File

@ -23,9 +23,11 @@
</layout> </layout>
</appender> </appender>
<appender name="LogFileAppender" type="log4net.Appender.FileAppender"> <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender">
<file value="OpenSim.log" /> <file value="OpenSim.log" />
<appendToFile value="true" /> <appendToFile value="true" />
<rollingStyle value="Date" />
<datePattern value="'.'yyyy-MM-dd"/>
<filter type="log4net.Filter.LoggerMatchFilter"> <filter type="log4net.Filter.LoggerMatchFilter">
<loggerToMatch value="special"/> <loggerToMatch value="special"/>
<acceptOnMatch value="false"/> <acceptOnMatch value="false"/>

View File

@ -21,9 +21,11 @@
</layout> </layout>
</appender> </appender>
<appender name="LogFileAppender" type="log4net.Appender.FileAppender"> <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender">
<file value="Robust.32BitLaunch.log" /> <file value="Robust.32BitLaunch.log" />
<appendToFile value="true" /> <appendToFile value="true" />
<rollingStyle value="Date" />
<datePattern value="'.'yyyy-MM-dd"/>
<filter type="log4net.Filter.LoggerMatchFilter"> <filter type="log4net.Filter.LoggerMatchFilter">
<loggerToMatch value="special"/> <loggerToMatch value="special"/>
<acceptOnMatch value="false"/> <acceptOnMatch value="false"/>

View File

@ -21,9 +21,11 @@
</layout> </layout>
</appender> </appender>
<appender name="LogFileAppender" type="log4net.Appender.FileAppender"> <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender">
<file value="Robust.log" /> <file value="Robust.log" />
<appendToFile value="true" /> <appendToFile value="true" />
<rollingStyle value="Date" />
<datePattern value="'.'yyyy-MM-dd"/>
<filter type="log4net.Filter.LoggerMatchFilter"> <filter type="log4net.Filter.LoggerMatchFilter">
<loggerToMatch value="special"/> <loggerToMatch value="special"/>
<acceptOnMatch value="false"/> <acceptOnMatch value="false"/>