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 2008/04/11 07:51:58 UTC

svn commit: r647056 - /tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c

Author: mturk
Date: Thu Apr 10 22:51:52 2008
New Revision: 647056

URL: http://svn.apache.org/viewvc?rev=647056&view=rev
Log:
Don't log ajp_connection_tcp_get_message failure as ERROR. This can be part of normal operation caused by cping/cpong. We are later logging that either as INFO in handle_cping_cpong or as ERROR in (ab)normal response

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

Modified: tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c?rev=647056&r1=647055&r2=647056&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c Thu Apr 10 22:51:52 2008
@@ -1078,14 +1078,14 @@
     if (rc < 0) {
         ae->last_errno = errno;
         if (rc == JK_SOCKET_EOF) {
-            jk_log(l, JK_LOG_ERROR,
+            jk_log(l, JK_LOG_INFO,
                    "(%s) can't receive the response message from tomcat, "
                    "tomcat (%s) has forced a connection close for socket %d",
                    ae->worker->name, jk_dump_hinfo(&ae->worker->worker_inet_addr, buf),
                    ae->sd);
         }
         else {
-            jk_log(l, JK_LOG_ERROR,
+            jk_log(l, JK_LOG_INFO,
                    "(%s) can't receive the response message from tomcat, "
                    "network problems or tomcat (%s) is down (errno=%d)",
                    ae->worker->name, jk_dump_hinfo(&ae->worker->worker_inet_addr, buf),



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