2008-02-07 04:53:42 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<configuration>
|
|
|
|
<configSections>
|
|
|
|
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
|
|
|
|
</configSections>
|
2013-11-23 01:29:55 +00:00
|
|
|
<runtime>
|
|
|
|
<loadFromRemoteSources enabled="true" />
|
|
|
|
</runtime>
|
2008-02-07 04:53:42 +00:00
|
|
|
<appSettings>
|
|
|
|
</appSettings>
|
|
|
|
<log4net>
|
|
|
|
<appender name="Console" type="OpenSim.Framework.Console.OpenSimAppender, OpenSim.Framework.Console">
|
2014-08-13 18:53:42 +00:00
|
|
|
<filter type="log4net.Filter.LoggerMatchFilter">
|
|
|
|
<loggerToMatch value="special"/>
|
|
|
|
<acceptOnMatch value="false"/>
|
|
|
|
</filter>
|
2008-02-07 04:53:42 +00:00
|
|
|
<layout type="log4net.Layout.PatternLayout">
|
2014-05-27 19:42:36 +00:00
|
|
|
<conversionPattern value="%date{HH:mm:ss.fff} - %message" />
|
2008-02-07 04:53:42 +00:00
|
|
|
</layout>
|
|
|
|
</appender>
|
|
|
|
<appender name="LogFileAppender" type="log4net.Appender.FileAppender">
|
|
|
|
<file value="pCampBot.log" />
|
2008-02-12 00:39:08 +00:00
|
|
|
<appendToFile value="true" />
|
2014-08-13 18:53:42 +00:00
|
|
|
<filter type="log4net.Filter.LoggerMatchFilter">
|
|
|
|
<loggerToMatch value="special"/>
|
|
|
|
<acceptOnMatch value="false"/>
|
|
|
|
</filter>
|
2008-02-07 04:53:42 +00:00
|
|
|
<layout type="log4net.Layout.PatternLayout">
|
|
|
|
<conversionPattern value="%date %-5level - %logger %message%newline" />
|
|
|
|
</layout>
|
|
|
|
</appender>
|
|
|
|
|
2014-08-13 18:53:42 +00:00
|
|
|
<appender name="StatsLogFileAppender" type="log4net.Appender.FileAppender">
|
|
|
|
<file value="pCampBotStats.log"/>
|
|
|
|
<appendToFile value="true" />
|
|
|
|
<layout type="log4net.Layout.PatternLayout">
|
|
|
|
<conversionPattern value="%date - %message%newline" />
|
|
|
|
</layout>
|
|
|
|
</appender>
|
|
|
|
|
2008-02-07 04:53:42 +00:00
|
|
|
<root>
|
|
|
|
<level value="DEBUG" />
|
|
|
|
<appender-ref ref="Console" />
|
|
|
|
<appender-ref ref="LogFileAppender" />
|
|
|
|
</root>
|
2014-08-13 18:53:42 +00:00
|
|
|
|
|
|
|
<!-- used for stats recording -->
|
|
|
|
<logger name="special.StatsLogger">
|
|
|
|
<appender-ref ref="StatsLogFileAppender"/>
|
|
|
|
</logger>
|
2008-02-07 04:53:42 +00:00
|
|
|
</log4net>
|
|
|
|
</configuration>
|