One option would be to use a separate logger for that method. You could then control the logging for it.
This would mean you would have to modify the source code to use a new logger. Is that possible? --Brian ________________________________ From: Ramaa Davanagere [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 26, 2006 2:33 PM To: '[email protected]' Subject: RE: Turn off logging for a specific event only can somebody help me with this issue? Thanks. -----Original Message----- From: Ramaa Davanagere To: '[email protected]' 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 Thanks. -Ramaa
