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

 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file
 distributed with this work for additional information
 regarding copyright ownership.  The ASF licenses this file
 to you under the Apache License, Version 2.0 (the
 "License"); you may not use this file except in compliance
 with the License.  You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on an
 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.

-->

<!-- 
	.NET application configuration file
	
     This file must have the exact same name as your application with
     .config appended to it. For example if your application is testApp.exe
     then the config file must be testApp.exe.config it mut also be in the
     same directory as the application. 
-->
<configuration>
	<!-- Register a section handler for the log4net section -->
	<configSections>
		<section name="log4net" type="System.Configuration.IgnoreSectionHandler" />
	</configSections>
	<!-- This section contains the log4net configuration settings -->
	<log4net debug="false">
		<!-- Define some output appenders -->	
		<!-- Use the remoting appender -->
		<appender name="RemotingAppender" type="log4net.Appender.RemotingAppender" >
			<!-- The remoting URL to the remoting server object -->
			<sink value="tcp://localhost:8085/LoggingSink" />
			<!-- Send all events, do not discard events when the buffer is full -->
			<lossy value="false" />
			<!-- The number of events to buffer before sending -->
			<bufferSize value="95" />
			<!-- Do not store event data that is slow to generate -->
			<onlyFixPartialEventData value="true" />
			<!-- Specify an evaluator to send the events immediatly under
			     certain conditions, e.g. when an error event ocurrs -->
			<!-- 
			<evaluator type="log4net.Core.LevelEvaluator">
				<threshold value="ERROR"/>
			</evaluator>
			-->
		</appender>
		<!-- Setup the root category, add the appenders and set the default priority -->
		<root>
			<level value="DEBUG" />
			<appender-ref ref="RemotingAppender" />
		</root>
	</log4net>
</configuration>
