OpenSim.exe.config 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  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="RollingFileAppender" type="log4net.Appender.RollingFileAppender">
  21. <file value="log/Amiais/OpenSim.Amiais.log" />
  22. <appendToFile value="true" />
  23. <maximumFileSize value="1000KB" />
  24. <maxSizeRollBackups value="2" />
  25. <layout type="log4net.Layout.PatternLayout">
  26. <conversionPattern value="%date %-5level - %logger %message%newline" />
  27. </layout>
  28. </appender>
  29. <root>
  30. <level value="DEBUG" />
  31. <appender-ref ref="Console" />
  32. <appender-ref ref="RollingFileAppender" />
  33. </root>
  34. </log4net>
  35. </configuration>