logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Thomas.TH.Hamac...@partner.bmw.ch>
Subject Redirect system.out into FileAppender
Date Thu, 08 Jan 2009 13:05:31 GMT

is it possible to redirect the normal system.out or system.err into a FileAppender defined
through log4j.

I have the problem that I´m using a 3rd-party application, that uses System.out.println()
in it´s code and I´d like to combine this with my other log4j-configurations into one single
file currently defined through a FileAppender. Any idea how to do that?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message