SimpleApp.exe.config 975 B

12345678910111213141516171819202122232425262728
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <configuration>
  3. <configSections>
  4. <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
  5. </configSections>
  6. <appSettings>
  7. </appSettings>
  8. <log4net>
  9. <appender name="Console" type="OpenSim.Framework.Console.OpenSimAppender, OpenSim.Framework.Console">
  10. <layout type="log4net.Layout.PatternLayout">
  11. <conversionPattern value="%date{HH:mm:ss} - %message%newline" />
  12. </layout>
  13. </appender>
  14. <appender name="LogFileAppender" type="log4net.Appender.FileAppender">
  15. <file value="SimpleApp.log" />
  16. <appendToFile value="true" />
  17. <layout type="log4net.Layout.PatternLayout">
  18. <conversionPattern value="%date %-5level - %logger %message%newline" />
  19. </layout>
  20. </appender>
  21. <root>
  22. <level value="DEBUG" />
  23. <appender-ref ref="Console" />
  24. <appender-ref ref="LogFileAppender" />
  25. </root>
  26. </log4net>
  27. </configuration>