tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Log4j vs JULI configuration discrepancy
Date Wed, 12 Aug 2009 02:29:19 GMT
> From: news [mailto:news@ger.gmane.org] On Behalf Of Eric B.
> Subject: Re: Log4j vs JULI configuration discrepancy
> 
> I don't understand why when using Juli anything that webapp's log4j
> logs to Stdout gets logged to a file, however, when using log4j with
> tomcat this behaviour isn't replicated.

Note that catalina.out isn't actually being logged to; the Tomcat startup script simply redirects
stdout and stderr to this file.  I don't know what happens to System.out and System.err when
log4j is in the game.

Are you using swallowOutput in your <Context> element?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message