tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler JspRuntimeContext.java
Date Thu, 01 Sep 2005 18:39:24 GMT
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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message