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]