logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maybhate, Dipty" <Dipty.Maybh...@amd.com>
Subject Setting log levels programatically
Date Mon, 13 Aug 2007 19:42:46 GMT
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

 


Mime
View raw message