SV: Why do stacktraces from servlets print to stdout, when the other end up in the log4j -log file?

2009-06-10 Thread Imner, Andreas
s [mailto:andreas.im...@kgk.se] Skickat: den 10 juni 2009 11:09 Till: Tomcat Users List Ämne: RE: Why do stacktraces from servlets print to stdout, when the other end up in the log4j -log file? Hi The Servlet does not propegate the error. This perticular servlet is one we use for handling

Re: Why do stacktraces from servlets print to stdout, when the other end up in the log4j -log file?

2009-06-10 Thread André Warnier
Imner, Andreas wrote: ... Hi. I do not know the answer, but I am sure that if you would like some answers from the experts on this list, it would not hurt to add some information like : - the version of this Tomcat - where you got it from : is it a "standard" Tomcat from the Tomcat website, or

RE: Why do stacktraces from servlets print to stdout, when the other end up in the log4j -log file?

2009-06-10 Thread Imner, Andreas
-Ursprungligt meddelande- Från: Christopher Schultz [mailto:ch...@christopherschultz.net] Skickat: den 9 juni 2009 21:57 Till: Tomcat Users List Ämne: Re: Why do stacktraces from servlets print to stdout, when the other end up in the log4j -log file? -BEGIN PGP SIGNED MESSAGE- Hash: SH

Re: Why do stacktraces from servlets print to stdout, when the other end up in the log4j -log file?

2009-06-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas, On 6/9/2009 3:31 PM, Imner, Andreas wrote: > My companys web application uses log4j 1.2.8 for logging and have > just recently switched from Weblogic to Tomcat 6.0.18. > > Since the we switched to Tomcat, when we do some logging within a > s

Why do stacktraces from servlets print to stdout, when the other end up in the log4j -log file?

2009-06-09 Thread Imner, Andreas
My companys web application uses log4j 1.2.8 for logging and have just recently switched from Weblogic to Tomcat 6.0.18. Since the we switched to Tomcat, when we do some logging within a servlet " private static final Log log = LogFactory.getLog(ExceptionHandlerServlet.class); log.error("some