Enable/Disable logging programatically.
"Albin Joseph" <[email protected]> Wed, 19 Jul 2006 13:40:08 -0000
| Newsgroups | gmane.comp.java.advanced-servlets |
|---|---|
| Message-ID | <[email protected]> |
hi experts I want to configure Log4J or J2SE 1.4 logging programmatically. I don't want to use any configuration files for configuring Log4J /J2SE 1.4 logging . 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 ------------------------ Yahoo! Groups Sponsor --------------------~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/saFolB/TM --------------------------------------------------------------------~-> Before posting a question, try to find your answer here: <http://www.egroups.com/links/advanced-servlets> Announcements should go to: [email protected] To Post a message, send it to: [email protected] To Unsubscribe, send a blank message to: [email protected] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/advanced-servlets/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/