OpenSim.exe.config 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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="Console" type="OpenSim.Framework.Console.OpenSimAppender, OpenSim.Framework.Console">
  14. <layout type="log4net.Layout.PatternLayout">
  15. <conversionPattern value="%date{HH:mm:ss} - %message%newline" />
  16. </layout>
  17. </appender>
  18. <appender name="LogFileAppender" type="log4net.Appender.FileAppender">
  19. <file value="OpenSim.log" />
  20. <appendToFile value="true" />
  21. <layout type="log4net.Layout.PatternLayout">
  22. <conversionPattern value="%date %-5level - %logger %message%newline" />
  23. </layout>
  24. </appender>
  25. <!-- if you'd like to know what NHibernate is doing more set value="DEBUG" -->
  26. <logger name="NHibernate" additivity="false">
  27. <level value="INFO"/>
  28. <appender-ref ref="NHibernateFileLog"/>
  29. </logger>
  30. <root>
  31. <level value="DEBUG" />
  32. <appender-ref ref="Console" />
  33. <appender-ref ref="LogFileAppender" />
  34. </root>
  35. </log4net>
  36. </configuration>