2008-02-05 19:44:27 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<configuration>
|
2008-12-05 12:45:08 +00:00
|
|
|
<configSections>
|
|
|
|
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
|
|
|
|
</configSections>
|
2008-12-05 12:42:32 +00:00
|
|
|
<runtime>
|
2013-11-23 01:29:55 +00:00
|
|
|
<loadFromRemoteSources enabled="true" />
|
2008-12-05 12:42:32 +00:00
|
|
|
</runtime>
|
2008-02-05 19:44:27 +00:00
|
|
|
<appSettings>
|
|
|
|
</appSettings>
|
|
|
|
<log4net>
|
2008-02-06 20:32:37 +00:00
|
|
|
<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>
|
2008-02-05 19:44:27 +00:00
|
|
|
<layout type="log4net.Layout.PatternLayout">
|
2010-01-19 23:50:30 +00:00
|
|
|
<conversionPattern value="%date{HH:mm:ss} - %message" />
|
2010-12-03 00:08:58 +00:00
|
|
|
<!-- console log with milliseconds. Useful for debugging -->
|
2011-05-13 02:24:19 +00:00
|
|
|
<!-- <conversionPattern value="%date{HH:mm:ss.fff} - %message" /> -->
|
2008-02-05 19:44:27 +00:00
|
|
|
</layout>
|
|
|
|
</appender>
|
2008-04-08 18:08:08 +00:00
|
|
|
|
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/OpenSim.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="OpenSim.log" />
|
|
|
|
<appendToFile value="true" />
|
2013-08-06 17:29:33 +00:00
|
|
|
<filter type="log4net.Filter.LoggerMatchFilter">
|
|
|
|
<loggerToMatch value="special"/>
|
|
|
|
<acceptOnMatch value="false"/>
|
|
|
|
</filter>
|
2008-02-05 19:44:27 +00:00
|
|
|
<layout type="log4net.Layout.PatternLayout">
|
2017-03-20 11:46:46 +00:00
|
|
|
<!-- <conversionPattern value="%date %-5level (%thread) - %logger %message%newline" /> -->
|
|
|
|
<conversionPattern value="%date %-5level %message%newline" />
|
2008-02-05 19:44:27 +00:00
|
|
|
</layout>
|
|
|
|
</appender>
|
|
|
|
|
2013-08-06 17:29:33 +00:00
|
|
|
<appender name="StatsLogFileAppender" type="log4net.Appender.FileAppender">
|
|
|
|
<file value="OpenSimStats.log"/>
|
|
|
|
<appendToFile value="true" />
|
|
|
|
<layout type="log4net.Layout.PatternLayout">
|
|
|
|
<conversionPattern value="%date - %message%newline" />
|
|
|
|
</layout>
|
|
|
|
</appender>
|
|
|
|
|
2008-02-05 19:44:27 +00:00
|
|
|
<root>
|
|
|
|
<level value="DEBUG" />
|
|
|
|
<appender-ref ref="Console" />
|
|
|
|
<appender-ref ref="LogFileAppender" />
|
|
|
|
</root>
|
2012-06-20 00:10:18 +00:00
|
|
|
|
2012-12-13 17:18:19 +00:00
|
|
|
<!-- Independently control logging level for per region module loading -->
|
|
|
|
<logger name="OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin">
|
|
|
|
<level value="INFO"/>
|
|
|
|
</logger>
|
|
|
|
|
2013-08-06 17:29:33 +00:00
|
|
|
<!-- used for stats recording -->
|
|
|
|
<logger name="special.StatsLogger">
|
|
|
|
<appender-ref ref="StatsLogFileAppender"/>
|
|
|
|
</logger>
|
|
|
|
|
2008-02-05 19:44:27 +00:00
|
|
|
</log4net>
|
|
|
|
</configuration>
|