tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/servlet JspServlet.java
Date Tue, 28 Jan 2003 18:15:49 GMT
remm        2003/01/28 10:15:49

  Modified:    jasper2/src/share/org/apache/jasper/servlet JspServlet.java
  Log:
  - IMO, this should be debug information (not info).
  
  Revision  Changes    Path
  1.19      +13 -13    jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/servlet/JspServlet.java
  
  Index: JspServlet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/servlet/JspServlet.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- JspServlet.java	22 Jan 2003 20:39:29 -0000	1.18
  +++ JspServlet.java	28 Jan 2003 18:15:49 -0000	1.19
  @@ -221,19 +221,19 @@
   
               boolean precompile = preCompile(request);
   
  -	    if (log.isInfoEnabled()) {	    
  -		log.info("JspEngine --> " + jspUri);
  -		log.info("\t     ServletPath: " + request.getServletPath());
  -		log.info("\t        PathInfo: " + request.getPathInfo());
  -		log.info("\t        RealPath: " + context.getRealPath(jspUri));
  -		log.info("\t      RequestURI: " + request.getRequestURI());
  -		log.info("\t     QueryString: " + request.getQueryString());
  -		log.info("\t  Request Params: ");
  +	    if (log.isDebugEnabled()) {	    
  +		log.debug("JspEngine --> " + jspUri);
  +		log.debug("\t     ServletPath: " + request.getServletPath());
  +		log.debug("\t        PathInfo: " + request.getPathInfo());
  +		log.debug("\t        RealPath: " + context.getRealPath(jspUri));
  +		log.debug("\t      RequestURI: " + request.getRequestURI());
  +		log.debug("\t     QueryString: " + request.getQueryString());
  +		log.debug("\t  Request Params: ");
   		Enumeration e = request.getParameterNames();
   		while (e.hasMoreElements()) {
   		    String name = (String) e.nextElement();
  -		    log.info("\t\t " + name + " = " +
  -			     request.getParameter(name));
  +		    log.debug("\t\t " + name + " = " +
  +                              request.getParameter(name));
   		}
   	    }
               serviceJspFile(request, response, jspUri, null, precompile);
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message