tomcat 5.5 stdout

2007-06-13 Thread Ilja S.
Hi It seems there is a lot of confusion around new tomcat 5.5 internal logging. I also have a question: Is there a way to separate stdout (which is all by default written to one file catalina.out) to be in files by virtual hosts / context. i.e. each application could have its own file where

Re: tomcat 5.5 stdout

2007-06-13 Thread Gregor Schneider
One option is to use log4j (http://logging.apache.org/log4j). you can specify loggers for each application writing to pre-defined locations. however, you will also have to maintain some disciplin, since log4j or the java-logging-api are not able to redirect stdout. That means: Do not use

Re: tomcat 5.5 stdout

2007-06-13 Thread Ilja S.
Thanks a lot for quick reply! To conclude: 1. stdout can NOT be redirected to multiple files and can be only in one file (usually catalina.out) 2. All uncaught exceptions / System.out from ALL applications are going to this one file. And we can not do anything about this. Right?

Re: tomcat 5.5 stdout

2007-06-13 Thread Gregor Schneider
hi illja, On 6/13/07, Ilja S. [EMAIL PROTECTED] wrote: Thanks a lot for quick reply! To conclude: 1. stdout can NOT be redirected to multiple files and can be only in one file (usually catalina.out) that's right. the only workaround is to use jsvc

How to format Tomcat 5.5 stdout?

2007-04-15 Thread Adli
Hi, Is it possible to add time stamp in the stdout file generated by tomcat? I want to correlate stack trace output with other data. Thanks Adli