Created
February 25, 2016 15:46
-
-
Save botaor/490b2870f08c2b953eb1 to your computer and use it in GitHub Desktop.
Internal logging for log4net
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> | |
... | |
<appSettings> | |
<add key="log4net.Internal.Debug" value="true"/> | |
</appSettings> | |
<system.diagnostics> | |
<trace autoflush="true"> | |
<listeners> | |
<add | |
name="textWriterTraceListener" | |
type="System.Diagnostics.TextWriterTraceListener" | |
initializeData="C:\logs\log4net.txt" /> | |
</listeners> | |
</trace> | |
</system.diagnostics> | |
... | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe you know how it works on .net core?