1
0

Robust.exe.config 1.8 KB

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