OpenSim.exe.config 1.0 KB

123456789101112131415161718192021222324252627282930313233
  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. </layout>
  17. </appender>
  18. <appender name="LogFileAppender" type="log4net.Appender.FileAppender">
  19. <file value="OpenSim.log" />
  20. <appendToFile value="true" />
  21. <layout type="log4net.Layout.PatternLayout">
  22. <conversionPattern value="%date %-5level - %logger %message%newline" />
  23. </layout>
  24. </appender>
  25. <root>
  26. <level value="DEBUG" />
  27. <appender-ref ref="Console" />
  28. <appender-ref ref="LogFileAppender" />
  29. </root>
  30. </log4net>
  31. </configuration>