There's also option of using LoggingOutputStream (in contribs in CVS) which redirects System.out/.err to log4j. Handy.
Fergus On Tue, Oct 22, 2002 at 04:19:21PM -0300, Daniel Serodio wrote: > I'm maintaining a Java app with tons of System.out.println's all around, > and I'm using log4j in my (new) code. > > If I setup log4j to use a ConsoleAppender, will log4j's and println's > output be intermixed in a predictible way? I mean, will each log message > be logged until EOL at least? > > Does anyone have any suggestions for using System.out.println and log4j > together in the same app? > > Thanks in advance > -- > []'s > Daniel Serodio > > > -- > To unsubscribe, e-mail: <mailto:log4j-user-unsubscribe@;jakarta.apache.org> > For additional commands, e-mail: <mailto:log4j-user-help@;jakarta.apache.org> -- Fergus Gallagher Tel: +44 (20) 8742 1600 Orbis Fax: +44 (20) 8742 2649 414 Chiswick High Street email: [EMAIL PROTECTED] London W4 5TL Web: http://www.orbisuk.com -- To unsubscribe, e-mail: <mailto:log4j-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:log4j-user-help@;jakarta.apache.org>