1
0

Robust.exe.config 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <configuration>
  3. <configSections>
  4. <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
  5. </configSections>
  6. <runtime>
  7. <loadFromRemoteSources enabled="true" />
  8. <gcConcurrent enabled="true" />
  9. <gcServer enabled="true" />
  10. </runtime>
  11. <appSettings>
  12. </appSettings>
  13. <log4net>
  14. <appender name="Console" type="OpenSim.Framework.Console.OpenSimAppender, OpenSim.Framework.Console">
  15. <filter type="log4net.Filter.LoggerMatchFilter">
  16. <loggerToMatch value="special"/>
  17. <acceptOnMatch value="false"/>
  18. </filter>
  19. <layout type="log4net.Layout.PatternLayout">
  20. <conversionPattern value="%date{HH:mm:ss} - %message%newline" />
  21. </layout>
  22. </appender>
  23. <appender name="LogFileAppender" type="log4net.Appender.FileAppender">
  24. <file value="Robust.log" />
  25. <appendToFile value="true" />
  26. <filter type="log4net.Filter.LoggerMatchFilter">
  27. <loggerToMatch value="special"/>
  28. <acceptOnMatch value="false"/>
  29. </filter>
  30. <layout type="log4net.Layout.PatternLayout">
  31. <conversionPattern value="%date %-5level - %logger %message%newline" />
  32. </layout>
  33. </appender>
  34. <appender name="StatsLogFileAppender" type="log4net.Appender.FileAppender">
  35. <file value="RobustStats.log"/>
  36. <appendToFile value="true" />
  37. <layout type="log4net.Layout.PatternLayout">
  38. <conversionPattern value="%date - %message%newline" />
  39. </layout>
  40. </appender>
  41. <root>
  42. <level value="DEBUG" />
  43. <appender-ref ref="Console" />
  44. <appender-ref ref="LogFileAppender" />
  45. </root>
  46. <!-- used for stats recording -->
  47. <logger name="special.StatsLogger">
  48. <appender-ref ref="StatsLogFileAppender"/>
  49. </logger>
  50. </log4net>
  51. </configuration>