Removed untyped contructor from ComponentRegistration and add a protected setter.
[castle.git] / Facilities / IBatisNet / Castle.Facilities.IBatisNetIntegration.Tests / App.config
blobf8bdd2157356071a5fc06298b8bd185ed8d7142f
1 <?xml version="1.0" encoding="utf-8" ?>
2 <configuration>
3 <!-- Register a section handler for the log4net section -->
4 <configSections>
5 <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
6 <sectionGroup name="iBATIS">
7 <section name="logging" type="IBatisNet.Common.Logging.ConfigurationSectionHandler, IBatisNet.Common" />
8 </sectionGroup>
9 </configSections>
11 <appSettings>
12 <add key="tests.src" value="../Castle.Facilities.IBatisNetIntegration.Tests" />
13 </appSettings>
15 <!-- This section contains the log4net configuration settings -->
16 <log4net>
17 <!-- Define some output appenders -->
18 <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
19 <param name="File" value="log.txt" />
20 <param name="AppendToFile" value="true" />
21 <param name="MaxSizeRollBackups" value="2" />
22 <param name="MaximumFileSize" value="100KB" />
23 <param name="RollingStyle" value="Size" />
24 <param name="StaticLogFileName" value="true" />
25 <layout type="log4net.Layout.PatternLayout">
26 <param name="Header" value="[Header]\r\n" />
27 <param name="Footer" value="[Footer]\r\n" />
28 <param name="ConversionPattern" value="%d [%t] %-5p %c [%x] - %m%n" />
29 </layout>
30 </appender>
31 <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
32 <layout type="log4net.Layout.PatternLayout">
33 <param name="ConversionPattern" value="%d [%t] %-5p %c [%x] &lt;%X{auth}&gt; - %m%n" />
34 </layout>
35 </appender>
37 <!-- Set root logger level to ERROR and its appenders -->
38 <root>
39 <level value="DEBUG" />
40 <appender-ref ref="RollingLogFileAppender" />
41 <appender-ref ref="ConsoleAppender" />
42 </root>
44 <!-- Print only messages of level DEBUG or above in the packages -->
45 <logger name="Castle.Facilities.IBatisNetIntegration.AutomaticSessionInterceptor">
46 <level value="DEBUG" />
47 </logger>
48 </log4net>
50 <iBATIS>
51 <logging>
52 <logFactoryAdapter type="IBatisNet.Common.Logging.Impl.ConsoleOutLoggerFA, IBatisNet.Common">
53 <arg key="showLogName" value="true" />
54 <arg key="showDataTime" value="true" />
55 <arg key="level" value="ALL" />
56 <arg key="dateTimeFormat" value="yyyy/MM/dd HH:mm:ss:SSS" />
57 </logFactoryAdapter>
59 <!--<logFactoryAdapter type="IBatisNet.Common.Logging.Impl.Log4NetLoggerFA, IBatisNet.Common.Logging.Log4Net">
60 <arg key="configType" value="inline" />
61 </logFactoryAdapter> -->
62 </logging>
63 </iBATIS>
64 </configuration>