Changing logger levels at runtime
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   srihari_1247
Posted On:   Thursday, February 16, 2006 01:11 AM

			
Hi all,

In our project we have lot of web applications,Ejbs and
Jboss services. Now , we want to implement a common
effective logger for all these components. We want to
switch the levels of logger at run time. I want full
details about this functionality. Can any one give me a
sample code for this.


Waiting for reply,


Bhaskar

Re: Changing logger levels at runtime

Posted By:   ankush_purwar  
Posted On:   Thursday, February 16, 2006 01:24 PM

Yes you can set the level of log at run time just by calling Log-4j API .I think it should be either setLevel or setPriority .
About | Sitemap | Contact