2010/1/18 iainmac <iain_macau...@hotmail.com>: > > Hi, > > I am upgrading from Tomcat 5 to 6. > > When developing I run Tomcat from the command line so I can see the debug as > it happens, but with Tomcat 6 I can see the debug that I have coded but when > there is a Tomcat exception, it doesn't appear in the command line window > any more although it is in the logs. e.g. > > > org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92) > > org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330) > > org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:334) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:312) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:299) > > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586) > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317) > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) > javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > > org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738) > > appears in the log, and in the browser but not in the debug in the command > line window I have open. I am searching for the reason, but if any one > knows what I need to do please let me know. Thanks.
That message is logged by 2localhost.org.apache.juli.FileHandler (or what the name of that log file is?) and does not reach the ConsoleHandler that prints messages to the console. See http://tomcat.apache.org/tomcat-6.0-doc/logging.html There is the following phrase: "By default, loggers will not delegate to their parent if they have associated handlers. This may be changed per logger using the loggerName.useParentHandlers property, which accepts a boolean value." Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org