21 lines
746 B
XML
21 lines
746 B
XML
<?xml version="1.0"?>
|
||
<configuration>
|
||
<configSections>
|
||
<section name="log4net" type="System.Configuration.IgnoreSectionHandler"/>
|
||
</configSections>
|
||
<log4net>
|
||
<appender name="LogFileAppender" type="log4net.Appender.FileAppender">
|
||
<file value="log.txt"/>
|
||
<appendToFile value="true"/>
|
||
<rollingStyle value="Date"/>
|
||
<datePattern value="yyyyMMdd-HH:mm:ss"/>
|
||
<layout type="log4net.Layout.PatternLayout">
|
||
<conversionPattern value="Date:%date Level:%-5level Msg:%message%newline"/>
|
||
</layout>
|
||
</appender>
|
||
<root>
|
||
<appender-ref ref="LogFileAppender"/>
|
||
</root>
|
||
</log4net>
|
||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>
|