Re: stack traces in the log become one line

2011-12-21 Thread Rainer Jung
On 21.12.2011 08:32, André Warnier wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 12/20/11 4:31 PM, Rainer Jung wrote: If you really want to get the stacks in all cases, you can set the JVM start flag: -XX:-OmitStackTraceInFastThrow I'm

stack traces in the log become one line

2011-12-20 Thread Darrell Esau
Hi all, I'm using tomcat 6.0.18. I've got an older app which, for logging, mostly just prints stack traces to System.out. When tomcat starts, any stack trace printed this way will print out fully and be visible in catalina.out However, after the server has been running some time, when those

Re: [OT] stack traces in the log become one line

2011-12-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Darrell, Marking OT since Tomcat doesn't handle any of this logging -- it's all about System.err. On 12/20/11 12:53 PM, Darrell Esau wrote: I'm using tomcat 6.0.18. You should seriously consider upgrading. I've got an older app which, for

Re: stack traces in the log become one line

2011-12-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 12/20/11 4:31 PM, Rainer Jung wrote: If you really want to get the stacks in all cases, you can set the JVM start flag: -XX:-OmitStackTraceInFastThrow I'm astonished! Thanks for the tip, Rainer. - -chris -BEGIN PGP

Re: stack traces in the log become one line

2011-12-20 Thread Darrell Esau
Awesome! That's what I was looking for. Thanks! On Tue, Dec 20, 2011 at 1:31 PM, Rainer Jung rainer.j...@kippdata.dewrote: On 20.12.2011 18:53, Darrell Esau wrote: Hi all, I'm using tomcat 6.0.18. I've got an older app which, for logging, mostly just prints stack traces to System.out.

Re: stack traces in the log become one line

2011-12-20 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 12/20/11 4:31 PM, Rainer Jung wrote: If you really want to get the stacks in all cases, you can set the JVM start flag: -XX:-OmitStackTraceInFastThrow I'm astonished! Thanks for the tip, Rainer. Me too.