log4net self logging

Enable log4Net internal self-logging

<configuration>
<appSettings>
<add key=”log4net.Internal.Debug” value=”true”/>
</appSettings>
</configuration>

 <system.diagnostics>
<trace autoflush=”true”>
<listeners>
<add name=”textWriterTraceListener”
type=”System.Diagnostics.TextWriterTraceListener”
initializeData=”C:\tmp\log4net.txt” />
</listeners>
</trace>
</system.diagnostics>

Advertisements

%d bloggers like this: