logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sk k <skk7...@yahoo.com>
Subject Re: ConsoleAppender and System.{out,err}.println
Date Tue, 22 Oct 2002 23:14:04 GMT

If want to distinguish log4j msgs form u'r
system.out's then you can use some pattern with
timestamp or className.method.

This way there will be a difference. Also, since log4j
has levels, you may be able to distinguish based on
it.


--- Daniel Serodio <daniel@checkforte.com.br> 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>
> 


__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

--
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