1
0

OpenSim.exe.config 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  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="OpenSim.log" />
  16. <appendToFile value="true" />
  17. <layout type="log4net.Layout.PatternLayout">
  18. <conversionPattern value="%date %-5level - %logger %message%newline" />
  19. </layout>
  20. </appender>
  21. <!-- if you'd like to know what NHibernate is doing more set value="DEBUG" -->
  22. <logger name="NHibernate" additivity="false">
  23. <level value="INFO"/>
  24. <appender-ref ref="NHibernateFileLog"/>
  25. </logger>
  26. <root>
  27. <level value="DEBUG" />
  28. <appender-ref ref="Console" />
  29. <appender-ref ref="LogFileAppender" />
  30. </root>
  31. </log4net>
  32. </configuration>