OpenSim.exe.config 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. <layout type="log4net.Layout.PatternLayout">
  15. <conversionPattern value="%date{HH:mm:ss} - %message" />
  16. <!-- console log with milliseconds. Useful for debugging -->
  17. <!-- <conversionPattern value="%date{HH:mm:ss.fff} - %message" /> -->
  18. </layout>
  19. </appender>
  20. <appender name="LogFileAppender" type="log4net.Appender.FileAppender">
  21. <file value="OpenSim.log" />
  22. <appendToFile value="true" />
  23. <layout type="log4net.Layout.PatternLayout">
  24. <conversionPattern value="%date %-5level - %logger %message%newline" />
  25. </layout>
  26. </appender>
  27. <root>
  28. <level value="DEBUG" />
  29. <appender-ref ref="Console" />
  30. <appender-ref ref="LogFileAppender" />
  31. </root>
  32. <!-- Independently control logging level for XEngine -->
  33. <logger name="OpenSim.Region.ScriptEngine.XEngine">
  34. <level value="INFO"/>
  35. </logger>
  36. <!-- Independently control logging level for per region module loading -->
  37. <logger name="OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin">
  38. <level value="INFO"/>
  39. </logger>
  40. </log4net>
  41. </configuration>