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 "Maybhate, Dipty" <Di...@amd.com> on 2007/08/13 21:42:46 UTC

Setting log levels programatically

Hi

I need to set the level for logging programmatically in my code.

I see that the LogManager.GetLogger(logname).IsErrorEnabled or
isDebugEnabled is a read only property.

Is there some way to dynamically set the levels for log?

 

Thanks and Regards

 

Dipty Maybhate
Automated Precision Manufacturing Techonology
Advanced Micro Devices