Robust32.exe.config 2.9 KB

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