<?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" /> </configSections> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" /> </startup> <runtime> <loadFromRemoteSources enabled="true" /> </runtime> <appSettings> <add key="ClientSettingsProvider.ServiceUri" value="" /> </appSettings> <log4net> <appender name="Console" type="OpenSim.Framework.Console.OpenSimAppender, OpenSim.Framework.Console"> <filter type="log4net.Filter.LoggerMatchFilter"> <loggerToMatch value="special" /> <acceptOnMatch value="false" /> </filter> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%date{HH:mm:ss} - %message" /> </layout> </appender> <!-- If you want automatic log-rolling then use RollingFileAppender instead of FileAppender: <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender"> <file value="log/Robust.log" /> <rollingStyle value="Date" /> <datePattern value="'.'yyyy-MM-dd"/> ... --> <appender name="LogFileAppender" type="log4net.Appender.FileAppender"> <file value="Robust.log" /> <appendToFile value="true" /> <filter type="log4net.Filter.LoggerMatchFilter"> <loggerToMatch value="special" /> <acceptOnMatch value="false" /> </filter> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%date %-5level - %logger %message%newline" /> </layout> </appender> <appender name="StatsLogFileAppender" type="log4net.Appender.FileAppender"> <file value="RobustStats.log" /> <appendToFile value="true" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%date - %message%newline" /> </layout> </appender> <root> <level value="DEBUG" /> <appender-ref ref="Console" /> <appender-ref ref="LogFileAppender" /> </root> <!-- used for stats recording --> <logger name="special.StatsLogger"> <appender-ref ref="StatsLogFileAppender" /> </logger> </log4net> <system.web> <membership defaultProvider="ClientAuthenticationMembershipProvider"> <providers> <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" /> </providers> </membership> <roleManager defaultProvider="ClientRoleProvider" enabled="true"> <providers> <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" /> </providers> </roleManager> </system.web> </configuration>