Robust32.vshost.exe.config 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. <add key="ClientSettingsProvider.ServiceUri" value="" />
  11. </appSettings>
  12. <log4net>
  13. <appender name="Console" type="OpenSim.Framework.Console.OpenSimAppender, OpenSim.Framework.Console">
  14. <filter type="log4net.Filter.LoggerMatchFilter">
  15. <loggerToMatch value="special" />
  16. <acceptOnMatch value="false" />
  17. </filter>
  18. <layout type="log4net.Layout.PatternLayout">
  19. <conversionPattern value="%date{HH:mm:ss} - %message" />
  20. </layout>
  21. </appender>
  22. <!-- If you want automatic log-rolling then use RollingFileAppender instead of FileAppender:
  23. <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender">
  24. <file value="log/Robust.log" />
  25. <rollingStyle value="Date" />
  26. <datePattern value="'.'yyyy-MM-dd"/>
  27. ...
  28. -->
  29. <appender name="LogFileAppender" type="log4net.Appender.FileAppender">
  30. <file value="Robust.log" />
  31. <appendToFile value="true" />
  32. <filter type="log4net.Filter.LoggerMatchFilter">
  33. <loggerToMatch value="special" />
  34. <acceptOnMatch value="false" />
  35. </filter>
  36. <layout type="log4net.Layout.PatternLayout">
  37. <conversionPattern value="%date %-5level - %logger %message%newline" />
  38. </layout>
  39. </appender>
  40. <appender name="StatsLogFileAppender" type="log4net.Appender.FileAppender">
  41. <file value="RobustStats.log" />
  42. <appendToFile value="true" />
  43. <layout type="log4net.Layout.PatternLayout">
  44. <conversionPattern value="%date - %message%newline" />
  45. </layout>
  46. </appender>
  47. <root>
  48. <level value="DEBUG" />
  49. <appender-ref ref="Console" />
  50. <appender-ref ref="LogFileAppender" />
  51. </root>
  52. <!-- used for stats recording -->
  53. <logger name="special.StatsLogger">
  54. <appender-ref ref="StatsLogFileAppender" />
  55. </logger>
  56. </log4net>
  57. <system.web>
  58. <membership defaultProvider="ClientAuthenticationMembershipProvider">
  59. <providers>
  60. <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
  61. </providers>
  62. </membership>
  63. <roleManager defaultProvider="ClientRoleProvider" enabled="true">
  64. <providers>
  65. <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
  66. </providers>
  67. </roleManager>
  68. </system.web>
  69. </configuration>