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

	<configSections>
		<section name="DatabaseConfig" type="System.Configuration.DictionarySectionHandler"/>
		<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
	</configSections>

	<DatabaseConfig>
		<!-- USE VENDOR="inmemory" TO SAVE DATA TO AN IN-MEMORY DATABASE -->
		<add key="vendor" value="<<|=VENDOR|>>"/>
		<add key="server" value="<<|=SERVER|>>"/>
		<add key="port" value="<<|=PORT|>>"/>
		<add key="database" value="<<|=DATABASE|>>"/>
		<add key="username" value="<<|=USERNAME|>>"/>
		<add key="password" value="<<|=PASSWORD|>>"/>
	</DatabaseConfig>
	
	<log4net>
		<appender name="FileAppender" type="log4net.Appender.FileAppender">
			<param name="File" value="<<|=APPLICATIONNAME|>>-log-file.txt"/>
			<param name="AppendToFile" value="true"/>
			<layout type="log4net.Layout.PatternLayout">
				<param name="ConversionPattern" value="%d [%t] %-5p %c [%x] - %m%n"/>
			</layout>
		</appender>

		<root>
			<level value="INFO"/>
			<appender-ref ref="FileAppender"/>
		</root>
	</log4net>
	
</configuration>