MY POI [mailto:[EMAIL PROTECTED] wrote:
> Subject: Re: HOw to replace the system.out.println
> Thanks a lot..but here we are having hundreads of classes..
> in this case any solution is there

I'd use Awk or Perl to make the edits for me.

If you don't want to make any edits then you have plenty of options! You can 
redirect standard output (and perhaps standard error) with System.setOut() (and 
System.setErr()) to a new PrintStream that will perform log4j logging! I use 
this technique quite regularly to adapt libraries and code that write to 
stdout/stderr (with judicious buffering and filtering of course!)

Regards,
Michael Erskine.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to