OpenSim.ConsoleClient.exe.config 1.1 KB

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