tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r1202582 - /tomcat/jk/trunk/native/common/jk_ajp_common.c
Date Wed, 16 Nov 2011 08:31:14 GMT
Author: mturk
Date: Wed Nov 16 08:31:14 2011
New Revision: 1202582

URL: http://svn.apache.org/viewvc?rev=1202582&view=rev
Log:
Be more informative when logging message overflow

Modified:
    tomcat/jk/trunk/native/common/jk_ajp_common.c

Modified: tomcat/jk/trunk/native/common/jk_ajp_common.c
URL: http://svn.apache.org/viewvc/tomcat/jk/trunk/native/common/jk_ajp_common.c?rev=1202582&r1=1202581&r2=1202582&view=diff
==============================================================================
--- tomcat/jk/trunk/native/common/jk_ajp_common.c (original)
+++ tomcat/jk/trunk/native/common/jk_ajp_common.c Wed Nov 16 08:31:14 2011
@@ -432,7 +432,7 @@ static int ajp_marshal_into_msgb(jk_msg_
         if ((sc = sc_for_req_header(s->headers_names[i])) != UNKNOWN_METHOD) {
             if (jk_b_append_int(msg, (unsigned short)sc)) {
                 jk_log(l, JK_LOG_ERROR,
-                       "failed appending the header code");
+                       "failed appending the header code for '%s'", s->headers_names[i]);
                 JK_TRACE_EXIT(l);
                 return JK_FALSE;
             }
@@ -544,7 +544,8 @@ static int ajp_marshal_into_msgb(jk_msg_
         if (jk_b_append_byte(msg, SC_A_SSL_KEY_SIZE) ||
             jk_b_append_int(msg, (unsigned short)s->ssl_key_size)) {
             jk_log(l, JK_LOG_ERROR,
-                   "failed appending the SSL key size");
+                   "failed appending the SSL key size of length %d",
+                  s->ssl_key_size);
             JK_TRACE_EXIT(l);
             return JK_FALSE;
         }



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


Mime
View raw message