Re: AW: catching System.out and System.err into log4j

2004-08-25 Thread Jim Moore
Similar to that, in the contribs area of CVS there's a utility class for doing the redirect: http://cvs.apache.org/viewcvs.cgi/logging-log4j/contribs/JimMoore/LoggingOutputStream.java On Wed, 25 Aug 2004 15:02:02 +0200, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi Ionel, > > by System.setEr

AW: catching System.out and System.err into log4j

2004-08-25 Thread gyoergy.magoss
Hi Ionel, by System.setErr(PrintStream) and System.setOut(PrintStream) . If you want to integrate that in log4j, I suggest that you either directly use these commands in your application or extend a FileAppender so that during initialization this methods are called with the files you want to wr