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>
|
2013-11-23 01:29:55 +00:00
|
|
|
<loadFromRemoteSources enabled="true" />
|
2009-07-07 16:21:51 +00:00
|
|
|
</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">
|
2014-05-27 19:42:36 +00:00
|
|
|
<conversionPattern value="%date{HH:mm:ss} - %message" />
|
2009-07-07 16:21:51 +00:00
|
|
|
</layout>
|
|
|
|
</appender>
|
|
|
|
|
2014-03-26 06:56:56 +00:00
|
|
|
<!-- If you want automatic log-rolling then use RollingFileAppender instead of FileAppender:
|
2013-12-02 13:18:47 +00:00
|
|
|
<appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender">
|
2014-03-26 06:56:56 +00:00
|
|
|
<file value="log/Robust.log" />
|
2013-12-02 13:18:47 +00:00
|
|
|
<rollingStyle value="Date" />
|
|
|
|
<datePattern value="'.'yyyy-MM-dd"/>
|
2014-03-26 06:56:56 +00:00
|
|
|
...
|
|
|
|
-->
|
|
|
|
|
|
|
|
<appender name="LogFileAppender" type="log4net.Appender.FileAppender">
|
|
|
|
<file value="Robust.log" />
|
|
|
|
<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">
|
2015-07-22 16:45:18 +00:00
|
|
|
<conversionPattern value="%date %-5level (%thread) - %logger %message%newline" />
|
2009-07-07 16:21:51 +00:00
|
|
|
</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>
|