Re: Log exception logging

2011-11-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ilya, On 11/11/11 9:33 AM, Ilya Kazakevich wrote: >>> A Servlet itself is always executed by Tomcat (if you have ever >>> seen the stacktraces printed by servlets). > > I understand that servlet runs in tomcat's thread-pool. > >>> It does not preven

RE: Log exception logging

2011-11-11 Thread Ilya Kazakevich
>>A Servlet itself is always executed by >>Tomcat (if you have ever seen the stacktraces printed by servlets). I understand that servlet runs in tomcat's thread-pool. >>It does not prevent Servlet form using proper logging framework, or >>those old log() methods in Servlet API. But when my servl

Re: Log exception logging

2011-11-11 Thread Konstantin Kolinko
2011/11/11 Ilya Kazakevich : >>Do you know there are ~30 different versions of 6.0.x ? > > 6.0.32 > > >>What docs? > http://tomcat.apache.org/tomcat-6.0-doc/logging.html#Console > > I believe uncought exception should be printed to stderr as it does by > java.lang.ThreadGroup.uncaughtException. >

RE: Log exception logging

2011-11-11 Thread Ilya Kazakevich
>Do you know there are ~30 different versions of 6.0.x ? 6.0.32 >What docs? http://tomcat.apache.org/tomcat-6.0-doc/logging.html#Console I believe uncought exception should be printed to stderr as it does by java.lang.ThreadGroup.uncaughtException. That is my tomcat misconfiguration not a tom

Re: Log exception logging

2011-11-11 Thread Konstantin Kolinko
2011/11/11 Ilya Kazakevich : > I am running tomcat 6.0 Do you know there are ~30 different versions of 6.0.x ? > Docs say it should log them into stdout but it does not. My stdout starts > with: What docs? > .. > INFO: Initializing Coyote HTTP/1.1 on http-8080 > 11.11.2011 20:18:36 org.apache.c

RE: Log exception logging

2011-11-11 Thread Ilya Kazakevich
. Ilya Kazakevich, Developer JetBrains Inc http://www.jetbrains.com "Develop with pleasure!" -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Friday, November 11, 2011 8:17 PM To: Tomcat Users List Subject: Re: Log exception logging 2011/

Re: Log exception logging

2011-11-11 Thread Konstantin Kolinko
2011/11/11 Ilya Kazakevich : > > Does there is a way to make tomcat log exception (with stacktrace) thrown by > servlet? > I do not want my app to do that because I like the way tomcat handles > exceptions: 500 error and error page is ok, but I need exception stacktrace > to be logged so I would be