dcsimg
How to redirect the standard output to the Logger?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   D_Garcia
Posted On:   Friday, January 17, 2003 12:03 AM

Hi:


I have just starting using Log4j. Instead of using System.out.println(...) I use the Logger methods (debbug, info, ...). But, how can I control the messages written by other classes (not mine) if they use System.out.println(...)?. Can I redirect them, or cancel them?. Is it correct to use System.setOut(null)?.


Thanks in advance


David G.

Re: How to redirect the standard output to the Logger?

Posted By:   Anonymous  
Posted On:   Friday, January 17, 2003 03:38 AM

About | Sitemap | Contact