Re: logging to seperate log file per war file

2005-04-12 Thread Darek Czarkowski
do you have console appender included in your log4j config file?
comment it out.

On Mon, 2005-04-11 at 20:12, quentin.compson wrote:
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: logging to seperate log file per war file

2005-04-12 Thread Jonathan Eric Miller
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" <[EMAIL PROTECTED]>
To: 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


logging to seperate log file per war file

2005-04-11 Thread quentin . compson
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]