You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by mt...@apache.org on 2005/04/21 14:14:21 UTC

cvs commit: jakarta-tomcat-connectors/jk/native/common jk_msg_buff.c

mturk       2005/04/21 05:14:21

  Modified:    jk/native/common jk_msg_buff.c
  Log:
  Dump entire message if log level is trace. In debug level log first 1024 bytes.
  
  Revision  Changes    Path
  1.30      +2 -8      jakarta-tomcat-connectors/jk/native/common/jk_msg_buff.c
  
  Index: jk_msg_buff.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_msg_buff.c,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- jk_msg_buff.c	21 Apr 2005 12:04:18 -0000	1.29
  +++ jk_msg_buff.c	21 Apr 2005 12:14:21 -0000	1.30
  @@ -314,13 +314,7 @@
       
       if (l == NULL)
           return;
  -    if (level == JK_LOG_DEBUG_LEVEL) {
  -        len = 0;
  -        if (l->level == JK_LOG_TRACE_LEVEL)
  -            len = msg->len;
  -    }
  -    
  -    if (len > 1024)
  +    if (l->level != JK_LOG_TRACE_LEVEL && len > 1024)
           len = 1024;
   
       jk_log(l, file, line, funcname, level,
  
  
  

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