OpenSim.exe.config 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  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. </log4net>
  33. </configuration>