tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/jk/server JkCoyoteHandler.java
Date Wed, 13 Nov 2002 00:18:16 GMT
costin      2002/11/12 16:18:16

  Modified:    jk/java/org/apache/jk/server JkCoyoteHandler.java
  Log:
  Move set attribute to trace level.
  
  Revision  Changes    Path
  1.30      +5 -2      jakarta-tomcat-connectors/jk/java/org/apache/jk/server/JkCoyoteHandler.java
  
  Index: JkCoyoteHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/server/JkCoyoteHandler.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- JkCoyoteHandler.java	10 Nov 2002 07:25:21 -0000	1.29
  +++ JkCoyoteHandler.java	13 Nov 2002 00:18:16 -0000	1.30
  @@ -101,8 +101,8 @@
       public final int JK_STATUS_CLOSED=2;
       
       public void setProperty( String name, String value ) {
  -        if( log.isDebugEnabled())
  -            log.debug("setProperty " + name + " " + value );
  +        if( log.isTraceEnabled())
  +            log.trace("setProperty " + name + " " + value );
           jkMain.setProperty( name, value );
           properties.put( name, value );
       }
  @@ -114,6 +114,8 @@
       /** Pass config info
        */
       public void setAttribute( String name, Object value ) {
  +        if( log.isDebugEnabled())
  +            log.debug("setAttribute " + name + " " + value );
           if( value instanceof String )
               this.setProperty( name, (String)value );
       }
  @@ -297,6 +299,7 @@
           if( contentLanguage != null ) {
               headers.setValue("Content-Language").setString(contentLanguage);
           }
  +
           int contentLength = res.getContentLength();
           if( contentLength >= 0 ) {
               headers.setValue("Content-Length").setInt(contentLength);
  
  
  

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