logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Stauffer <stauffer.ja...@gmail.com>
Subject Re: Log4J: System.out and System.err
Date Mon, 18 Jul 2005 12:37:05 GMT
I think cvs has an example class for capturing system out and err.  I
know I have seen an example somewhere.
I think -Dlog4j.debug=true always generates output to system out. 
Besides that I am not sure what else would go to system out (unless
using a ConsoleAppender).

On 7/14/05, Mike Wannamaker <Mike.Wannamaker@kingston.hummingbird.com> wrote:
> Is there a way to tell log4J to capture System.out or System.err?  Also it
> looks like log4j at certain levels of logging also logs to the
> System.err/System.out can anyone confirm this?  Possibly through something
> called a QuietWriter?
> 
> TIA
> --ekiM
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
> 
> 


-- 
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message