mturk 2004/11/11 09:16:35 Modified: jk/native/common jk_msg_buff.c Log: When logrequest is DEBUG dump only message info. In any other case dump entire message packet. Also dump entire message when loglevel is trace. Revision Changes Path 1.23 +6 -3 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.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- jk_msg_buff.c 11 Nov 2004 17:03:29 -0000 1.22 +++ jk_msg_buff.c 11 Nov 2004 17:16:35 -0000 1.23 @@ -398,10 +398,13 @@ int j; int len = msg->len; - if (l->level == JK_LOG_DEBUG_LEVEL) { + if (level == JK_LOG_DEBUG_LEVEL) { len = 0; + if (l->level == JK_LOG_TRACE_LEVEL) + len = msg->len; } - else if (len > 1024) + + if (len > 1024) len = 1024; jk_log(l, file, line, funcname, level,
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]