Here is how I ignore all the logs from NHibernate
<filter type="log4net.Filter.LoggerMatchFilter">

<loggerToMatch value="NHibernate"/>

<acceptOnMatch value="false"/>

</filter>


________________________________

מאת: Joe Waldner [mailto:[EMAIL PROTECTED]
נשלח: ג 2006-09-12 0:23
אל: log4net-user@logging.apache.org
נושא: logging (or not) specific classes, through the config



Is there a way to log (or not) specific classes even though they have a logger 
configured?

I want the appenders that I use to be at the debug level but I am not 
interested in messages from this particular class.

There should be a way to do this from the App Config file, but I have not found 
it…

 

 

<<winmail.dat>>

Reply via email to