logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Grabowski <rongrabow...@yahoo.com>
Subject RE: Cannot switch between logging levels
Date Wed, 17 Aug 2005 13:02:38 GMT
>From the faq.html page:

Internal debugging messages are written to the console and to the
System.Diagnostics.Trace system.

A simple way to redirect messages sent to System.Diagnostics.Trace is
to define a trace listener in the web.config:

 <trace autoflush="true">
   <add name="textWriterTraceListener" 
    initializeData="C:\\inetpub\\wwwroot\\log4net.txt" />

I agree that if switching log levels works correctly for one appender,
it should work for the other appenders as well.

--- Jason Goldsmith <JGoldsmith@psmic.com> wrote:

> Ok, I've attempted to enable internal debugging to no avail.  I just
> don't understand Why switching from one log level to another works
> when
> I have root as FileAppender, but doesn't work when root is set to
> ADONetAppender.  Any thoughts?  
> If any of my code is necessary, please let me know.  I have, however,
> provided snippets (in my first email to the group) of my web.config,
> log4net.config, global.asax.cs, AssemblyInfo.cs.
> Thanks again,
> Jason Goldsmith
> Solution Stream
> 1510 N.Elms Road
> Flint MI, 48532
> Phone: 810.600.3913

View raw message