logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
Subject Re: ConsoleAppender and System.{out,err}.println
Date Tue, 22 Oct 2002 20:16:23 GMT

AFAIK, System.out.println is synchronized.

At 16:19 22.10.2002 -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

--
Ceki

TCP implementations will follow a general principle of robustness: be
conservative in what you do, be liberal in what you accept from
others. -- Jon Postel, RFC 793



--
To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>


Mime
View raw message