12345678910111213141516171819 |
- <?xml version="1.0" encoding="utf-8" ?>
- <configuration>
- <configSections>
- <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
- </configSections>
- <log4net>
- <appender name="LogFileAppender" type="log4net.Appender.FileAppender">
- <param name="File" value="log.txt"/>
- <param name="AppendToFile" value="true"/>
- <layout type="log4net.Layout.PatternLayout">
- <param name="ConversionPattern" value="%d %-5p %c line: %L [%x] - %m%n"/>
- </layout>
- </appender>
- <root>
- <level value="DEBUG"/>
- <appender-ref ref="LogFileAppender"/>
- </root>
- </log4net>
- </configuration>
|