1 <?xml version=
"1.0" encoding=
"utf-8" ?>
6 <section name=
"activerecord"
7 type=
"Castle.ActiveRecord.Framework.Config.ActiveRecordSectionHandler, Castle.ActiveRecord" />
8 <section name=
"log4net"
9 type=
"log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
15 <add key=
"connection.driver_class" value=
"NHibernate.Driver.SqlClientDriver" />
16 <add key=
"dialect" value=
"NHibernate.Dialect.MsSql2000Dialect" />
17 <add key=
"connection.provider" value=
"NHibernate.Connection.DriverConnectionProvider" />
18 <add key=
"connection.connection_string" value=
"Initial Catalog=test;Data Source=.;Integrated Security=True;" />
19 <!--add key="connection.connection_string" value="Data Source=.;Initial Catalog=ActiverRecordTest;Integrated Security=True;Pooling=False" /-->
26 <appender name="rollingFile" type="log4net.Appender.RollingFileAppender,log4net" >
28 <param name="File" value="log.txt" />
29 <param name="AppendToFile" value="true" />
30 <param name="RollingStyle" value="Date" />
31 <param name="DatePattern" value="yyyy.MM.dd" />
32 <param name="StaticLogFileName" value="true" />
34 <layout type="log4net.Layout.PatternLayout,log4net">
35 <param name="ConversionPattern" value="%d [%t] %-5p %c [%x] <%X{auth}> - %m%n" />
41 <priority value="ALL" />
42 <appender-ref ref="rollingFile" />