1
0

OpenSim.32BitLaunch.exe.config 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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" />
  21. <!-- console log with milliseconds. Useful for debugging -->
  22. <!-- <conversionPattern value="%date{HH:mm:ss.fff} - %message" /> -->
  23. </layout>
  24. </appender>
  25. <appender name="LogFileAppender" type="log4net.Appender.FileAppender">
  26. <file value="OpenSim.32BitLaunch.log" />
  27. <appendToFile value="true" />
  28. <filter type="log4net.Filter.LoggerMatchFilter">
  29. <loggerToMatch value="special"/>
  30. <acceptOnMatch value="false"/>
  31. </filter>
  32. <layout type="log4net.Layout.PatternLayout">
  33. <conversionPattern value="%date %-5level - %logger %message%newline" />
  34. </layout>
  35. </appender>
  36. <appender name="StatsLogFileAppender" type="log4net.Appender.FileAppender">
  37. <file value="OpenSimStats.log"/>
  38. <appendToFile value="true" />
  39. <layout type="log4net.Layout.PatternLayout">
  40. <conversionPattern value="%date - %message%newline" />
  41. </layout>
  42. </appender>
  43. <root>
  44. <level value="DEBUG" />
  45. <appender-ref ref="Console" />
  46. <appender-ref ref="LogFileAppender" />
  47. </root>
  48. <!-- Independently control logging level for XEngine -->
  49. <logger name="OpenSim.Region.ScriptEngine.XEngine">
  50. <level value="INFO"/>
  51. </logger>
  52. <!-- Independently control logging level for per region module loading -->
  53. <logger name="OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin">
  54. <level value="INFO"/>
  55. </logger>
  56. <!-- used for stats recording -->
  57. <logger name="special.StatsLogger">
  58. <appender-ref ref="StatsLogFileAppender"/>
  59. </logger>
  60. </log4net>
  61. </configuration>