tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/webapp/java/org/apache/catalina/connector/warp WarpEngine.java WarpHost.java
Date Mon, 29 Apr 2002 13:49:45 GMT
pier        02/04/29 06:49:44

  Modified:    webapp/java/org/apache/catalina/connector/warp
                        WarpEngine.java WarpHost.java
  Log:
  Fix for way-too-many debug entries in the logs:
  PR:		6748
  Obtained from:	anewberger@plumbdesign.com
  Submitted by:	pier@betaversion.org, anewberger@plumbdesign.com
  Reviewed by:	pier@betaversion.org
  
  Revision  Changes    Path
  1.3       +1 -1      jakarta-tomcat-connectors/webapp/java/org/apache/catalina/connector/warp/WarpEngine.java
  
  Index: WarpEngine.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/java/org/apache/catalina/connector/warp/WarpEngine.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- WarpEngine.java	27 Feb 2002 03:32:29 -0000	1.2
  +++ WarpEngine.java	29 Apr 2002 13:49:44 -0000	1.3
  @@ -67,7 +67,7 @@
   
   public class WarpEngine extends StandardEngine {
       public Container map(Request request, boolean update) {
  -        this.log("Mapping request");
  +        if (Constants.DEBUG) this.log("Mapping request");
           if (request instanceof WarpRequest) {
               WarpRequest wreq = (WarpRequest)request;
               Host host = wreq.getHost();
  
  
  
  1.2       +1 -1      jakarta-tomcat-connectors/webapp/java/org/apache/catalina/connector/warp/WarpHost.java
  
  Index: WarpHost.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/java/org/apache/catalina/connector/warp/WarpHost.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- WarpHost.java	23 Jan 2002 17:48:50 -0000	1.1
  +++ WarpHost.java	29 Apr 2002 13:49:44 -0000	1.2
  @@ -69,7 +69,7 @@
   public class WarpHost extends StandardHost {
       public Container map(Request request, boolean update) {
           Context context=null;
  -        this.log("Mapping request for Host");
  +        if (Constants.DEBUG) this.log("Mapping request for Host");
           if (request instanceof WarpRequest)
               context=((WarpRequest)request).getContext();
           else
  
  
  

--
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