2009-07-07 16:21:51 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<configuration>
|
|
|
|
<configSections>
|
|
|
|
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
|
|
|
|
</configSections>
|
|
|
|
<runtime>
|
|
|
|
<gcConcurrent enabled="true" />
|
|
|
|
<gcServer enabled="true" />
|
|
|
|
</runtime>
|
|
|
|
<appSettings>
|
|
|
|
</appSettings>
|
|
|
|
<log4net>
|
|
|
|
<appender name="Console" type="OpenSim.Framework.Console.OpenSimAppender, OpenSim.Framework.Console">
|
2013-08-06 17:29:33 +00:00
|
|
|
<filter type="log4net.Filter.LoggerMatchFilter">
|
|
|
|
<loggerToMatch value="special"/>
|
|
|
|
<acceptOnMatch value="false"/>
|
|
|
|
</filter>
|
2009-07-07 16:21:51 +00:00
|
|
|
<layout type="log4net.Layout.PatternLayout">
|
|
|
|
<conversionPattern value="%date{HH:mm:ss} - %message%newline" />
|
|
|
|
</layout>
|
|
|
|
</appender>
|
|
|
|
|
|
|
|
<appender name="LogFileAppender" type="log4net.Appender.FileAppender">
|
2010-10-01 03:08:36 +00:00
|
|
|
<file value="Robust.log" />
|
2009-07-07 16:21:51 +00:00
|
|
|
<appendToFile value="true" />
|
2013-08-06 17:29:33 +00:00
|
|
|
<filter type="log4net.Filter.LoggerMatchFilter">
|
|
|
|
<loggerToMatch value="special"/>
|
|
|
|
<acceptOnMatch value="false"/>
|
|
|
|
</filter>
|
2009-07-07 16:21:51 +00:00
|
|
|
<layout type="log4net.Layout.PatternLayout">
|
|
|
|
<conversionPattern value="%date %-5level - %logger %message%newline" />
|
|
|
|
</layout>
|
|
|
|
</appender>
|
|
|
|
|
2013-08-06 17:29:33 +00:00
|
|
|
<appender name="StatsLogFileAppender" type="log4net.Appender.FileAppender">
|
|
|
|
<file value="RobustStats.log"/>
|
|
|
|
<appendToFile value="true" />
|
|
|
|
<layout type="log4net.Layout.PatternLayout">
|
|
|
|
<conversionPattern value="%date - %message%newline" />
|
|
|
|
</layout>
|
|
|
|
</appender>
|
|
|
|
|
2009-07-07 16:21:51 +00:00
|
|
|
<root>
|
|
|
|
<level value="DEBUG" />
|
|
|
|
<appender-ref ref="Console" />
|
|
|
|
<appender-ref ref="LogFileAppender" />
|
|
|
|
</root>
|
2013-08-06 17:29:33 +00:00
|
|
|
|
|
|
|
<!-- used for stats recording -->
|
|
|
|
<logger name="special.StatsLogger">
|
|
|
|
<appender-ref ref="StatsLogFileAppender"/>
|
|
|
|
</logger>
|
2009-07-07 16:21:51 +00:00
|
|
|
</log4net>
|
|
|
|
</configuration>
|