logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramaa Davanagere <RDAVA...@mobius.com>
Subject RE: Turn off logging for a specific event only
Date Tue, 26 Sep 2006 21:32:53 GMT

can somebody help me with this issue? Thanks.

-----Original Message-----
From: Ramaa Davanagere
To: 'log4net-user@logging.apache.org'
Sent: 9/26/06 2:28 PM
Subject: Turn off logging for a specific event only


Is it possible to turn off the logging for a specific event? I would
like to turn of the logging when the code hits a particular method and
reset the logging to its original value which is "DEBUG" while exiting
that method. Is it possible to accomplish this? If so, please provide me
some sample code on how to achieve this. My code is in c#.net and uses
log4net version 1.2.10


Please help 





View raw message