Last active
August 29, 2015 14:18
-
-
Save syron/0ebe68e5e8b203d16e09 to your computer and use it in GitHub Desktop.
IS.Demo.Log4Net.Application.Console.exe.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<configuration> | |
<configSections> | |
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,Log4net"/> | |
</configSections> | |
<startup> | |
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /> | |
</startup> | |
<log4net> | |
<appender name="FileAppender" type="log4net.Appender.FileAppender"> | |
<param name="File" value="tutorial.log"/> | |
<param name="AppendToFile" value="true"/> | |
<layout type="log4net.Layout.PatternLayout"> | |
<param name="ConversionPattern" value="%d %-2p - %m%n"/> | |
</layout> | |
</appender> | |
<root> | |
<level value="ALL"/> | |
<appender-ref ref="FileAppender"/> | |
</root> | |
</log4net> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment