App.config 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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="LogForwarder" type="OpenSim.GridLaunch.log4netAppender">
  14. <layout type="log4net.Layout.PatternLayout">
  15. <conversionPattern value="%date{HH:mm:ss} - %message%newline" />
  16. </layout>
  17. </appender>
  18. <appender name="TraceWriter" type="log4net.Appender.TraceAppender">
  19. <layout type="log4net.Layout.PatternLayout">
  20. <conversionPattern value="%date{HH:mm:ss} - %message%newline" />
  21. </layout>
  22. </appender>
  23. <appender name="LogFileAppender" type="log4net.Appender.FileAppender">
  24. <file value="OpenSim.GridLaunch.log" />
  25. <appendToFile value="true" />
  26. <layout type="log4net.Layout.PatternLayout">
  27. <conversionPattern value="%date %-5level - %logger %message%newline" />
  28. </layout>
  29. </appender>
  30. <root>
  31. <level value="ALL" />
  32. <appender-ref ref="LogForwarder" />
  33. <appender-ref ref="LogFileAppender" />
  34. <appender-ref ref="TraceWriter" />
  35. </root>
  36. </log4net>
  37. </configuration>