Enabling/Disabling logging programmatically
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Albin_Joseph
Posted On:   Tuesday, July 18, 2006 11:39 PM

I am totally new to Log4J. I am facing problem in Log4J. I want to configure Log4J programmatically. I don't want to use any configuration files for configuring Log4J. I want to enable/disable logging facility at runtime from my program. Sometime I may require to turn on only DEBUG, sometimes DEBUG and INFO may be required. How can I do that? Please help me. Any help would be much valuable.



Thanks

Albin Joseph

http://www.javacertificate.net

Re: Enabling/Disabling logging programmatically

Posted By:   Jacky_Wong  
Posted On:   Thursday, August 3, 2006 03:17 AM

http://www.developer.com/open/article.php/10930_3097221_2

Hope that this article can help you.
Cheers...
About | Sitemap | Contact