pCampBot.exe.config 1.0 KB

12345678910111213141516171819202122232425262728293031
  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. </runtime>
  9. <appSettings>
  10. </appSettings>
  11. <log4net>
  12. <appender name="Console" type="OpenSim.Framework.Console.OpenSimAppender, OpenSim.Framework.Console">
  13. <layout type="log4net.Layout.PatternLayout">
  14. <conversionPattern value="%date{HH:mm:ss.fff} - %message" />
  15. </layout>
  16. </appender>
  17. <appender name="LogFileAppender" type="log4net.Appender.FileAppender">
  18. <file value="pCampBot.log" />
  19. <appendToFile value="true" />
  20. <layout type="log4net.Layout.PatternLayout">
  21. <conversionPattern value="%date %-5level - %logger %message%newline" />
  22. </layout>
  23. </appender>
  24. <root>
  25. <level value="DEBUG" />
  26. <appender-ref ref="Console" />
  27. <appender-ref ref="LogFileAppender" />
  28. </root>
  29. </log4net>
  30. </configuration>