Add this to your Web.Config:

 <appSettings>
  <add key="log4net.Internal.Debug" value="true" />
 </appSettings>
 <system.diagnostics>
  <trace autoflush="true">
   <listeners>
    <add
     name="textWriterTraceListener"
     type="System.Diagnostics.TextWriterTraceListener"
     initializeData="c:\\inetpub\\wwwroot\\log4net.txt" />
   </listeners>
  </trace>
 </system.diagnostics>

--- "Michael S. Collier" <[EMAIL PROTECTED]> wrote:

> Is there a good way to capture the internal Log4NET debugging for a
> web site
> or web service?  I would like the ability to capture the debugging so
> that I
> might better figure out why logging is not working.  
> 
>  
> 
> For my app, logging is working great now, but I would like to capture
> the
> internal debugging output just incase something fails in the future.
> 
>  
> 
>  
> 
> Thanks!
> 
> 

Reply via email to