Hmm, well they will get displayed in the terminal you started tomcat from.
Unless you redirect output from the command line argument you use to start
tomcat, you'll probably loose it (e..g. use command 2> to redirect stderr to
a file, 1> to redirect stdout). I've changed all of my debug prints to login
to a servlet context - e.g. servlet.getServletContext().log(msg, exp). I'm
not sure of the .jsp version. You could write a logging servlet to do it I
guess, and call it from the jsp. Outputs from the context.log() go to the
servlet.log in the tomcat/logs directory. Have a look at the docs for
HttpServletContext

sam
----- Original Message -----
From: Brian Burridge
To: [EMAIL PROTECTED]
Sent: Monday, April 16, 2001 3:02 PM
Subject: Where does System.out.println go under Tomcat


I've put some system out prints in my JSP pages, but I cannot find the error
logs. I've found the logs for the web site (apache's standards logs) and
I've found a servlet.log and a jasper.log under the jakarta logs directory,
but I have no idea where servlet errors go.

Brian

Reply via email to