<?xml version="1.0" encoding="utf-8"?>
<!--@ <code> @-->
<configuration>

	<configSections>
		<section name="log4net" type="System.Configuration.IgnoreSectionHandler" />
		<sectionGroup name="spring">
			<section name="context" type="Spring.Context.Support.ContextHandler, Spring.Core" />
			<section name="objects" type="Spring.Context.Support.DefaultSectionHandler, Spring.Core" />
		</sectionGroup>
	</configSections>
	  
	<spring>
		<context type="Spring.Context.Support.XmlApplicationContext, Spring.Core">
			<resource uri="file://~/service-process-definition.xml" />
		</context>		
	</spring>

	<system.runtime.remoting>
	<application>
		<channels>
		<channel ref="http" port="1234" />		
		</channels>
	</application>
	</system.runtime.remoting>
 
  <log4net>
    <!-- see http://logging.apache.org/log4net/release/manual/introduction.html -->
    <appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
      <layout type="log4net.Layout.PatternLayout">
        <conversionPattern value="%d [%t] %-5p %c{1} - %m%n" />
      </layout>
      <file value="logs/Spring.Service.Process.log" />
      <appendToFile value="true" />
      <maximumFileSize value="500KB" />
      <maxSizeRollBackups value="5" />
    </appender>
    <appender name="OutputDebugString" type="log4net.Appender.OutputDebugStringAppender">
      <layout type="log4net.Layout.PatternLayout">
        <conversionPattern value="%d{HH:mm:ss,fff} %-5p %c{2}(line:%L) - %m%n" />
      </layout>
    </appender>
    <root>
      <level value="OFF" />
    </root>
	  <logger name="Spring.Services">
		  <level value="ALL" />
      <appender-ref ref="RollingFile" />
      <appender-ref ref="OutputDebugString" />
	  </logger>	  
  </log4net>

</configuration>
<!--@ </code> @-->