2008-02-05 19:44:27 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<configuration>
|
|
|
|
<configSections>
|
|
|
|
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
|
|
|
|
</configSections>
|
|
|
|
<appSettings>
|
|
|
|
</appSettings>
|
|
|
|
<log4net>
|
2008-02-06 07:36:14 +00:00
|
|
|
<appender name="Console" type="log4net.Appender.ConsoleAppender">
|
2008-02-05 19:44:27 +00:00
|
|
|
<layout type="log4net.Layout.PatternLayout">
|
|
|
|
<conversionPattern value="%date %-5level %logger - %message%newline" />
|
|
|
|
</layout>
|
|
|
|
</appender>
|
|
|
|
<appender name="LogFileAppender" type="log4net.Appender.FileAppender">
|
|
|
|
<file value="SimpleApp.log" />
|
|
|
|
<appendToFile value="false" />
|
|
|
|
<layout type="log4net.Layout.PatternLayout">
|
|
|
|
<conversionPattern value="%date %-5level %logger - %message%newline" />
|
|
|
|
</layout>
|
|
|
|
</appender>
|
|
|
|
|
|
|
|
<root>
|
|
|
|
<level value="DEBUG" />
|
|
|
|
<appender-ref ref="Console" />
|
|
|
|
<appender-ref ref="LogFileAppender" />
|
|
|
|
</root>
|
|
|
|
</log4net>
|
|
|
|
</configuration>
|