yoavs 2005/09/01 11:39:24 Modified: jasper2/src/share/org/apache/jasper/compiler JspRuntimeContext.java Log: Minor logging enhancement for my own debugging purposes. Revision Changes Path 1.29 +6 -2 jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/JspRuntimeContext.java Index: JspRuntimeContext.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/JspRuntimeContext.java,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- JspRuntimeContext.java 30 Aug 2005 22:38:33 -0000 1.28 +++ JspRuntimeContext.java 1 Sep 2005 18:39:24 -0000 1.29 @@ -338,6 +338,10 @@ } classpath = cpath.toString() + cp; + + if(log.isDebugEnabled()) { + log.debug("Compilation classpath initialized: " + getClassPath()); + } } /** @@ -511,7 +515,7 @@ try { checkCompile(); } catch (Throwable t) { - t.printStackTrace(); + log.error("Exception checking if recompile needed: ", t); } }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]