You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-user@logging.apache.org by Ramaa Davanagere <RD...@mobius.com> on 2006/09/26 20:28:19 UTC
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
Thanks.
-Ramaa