tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Eric Miller" <jemil...@uchicago.edu>
Subject Re: logging to seperate log file per war file
Date Tue, 12 Apr 2005 16:01:57 GMT
My guess (but, I'm not a Tomcat developer so what do I know! ;-)) is that 
you can't do it for System.out.println(). However, I did notice that 
System.setOut() allows you to redirect where standard out goes. However, I'm 
guessing that that would be for the entire JVM? As of Tomcat 5.5.9 they 
fixed up java.util.logging so that it can have different log files if that's 
any consolation. I guess the best solution is to simply using the logging 
APIs throughout and not use System.out for anything.

Jon

----- Original Message ----- 
From: "quentin.compson" <quentin.compson+tomcat_user@gmail.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Monday, April 11, 2005 10:12 PM
Subject: logging to seperate log file per war file


> is this possible using context.xml or some other way?  im using log4j but 
> some
> output still goes to stdout (e.g System.out.println()).
>
> thx
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 


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


Mime
View raw message