You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by rj...@apache.org on 2007/12/15 16:14:05 UTC
svn commit: r604438 - in /tomcat/connectors/trunk/jk/native/common:
jk_ajp_common.c jk_lb_worker.c
Author: rjung
Date: Sat Dec 15 07:14:04 2007
New Revision: 604438
URL: http://svn.apache.org/viewvc?rev=604438&view=rev
Log:
Lower log level of some messages to get closer
to log behaviour of previous release.
Modified:
tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c
tomcat/connectors/trunk/jk/native/common/jk_lb_worker.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=604438&r1=604437&r2=604438&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c Sat Dec 15 07:14:04 2007
@@ -828,7 +828,7 @@
}
if ((cmd = jk_b_get_byte(msg)) != AJP13_CPONG_REPLY) {
- jk_log(l, JK_LOG_ERROR,
+ jk_log(l, JK_LOG_WAITING,
"awaited reply cpong, received %d instead",
cmd);
/* We can't trust this connection any more. */
@@ -866,7 +866,7 @@
if (!IS_VALID_SOCKET(ae->sd)) {
ae->last_errno = errno;
- jk_log(l, JK_LOG_ERROR,
+ jk_log(l, JK_LOG_INFO,
"Failed opening socket to (%s) (errno=%d)",
jk_dump_hinfo(&ae->worker->worker_inet_addr, buf), ae->last_errno);
JK_TRACE_EXIT(l);
@@ -1275,7 +1275,7 @@
int err = JK_FALSE;
if (jk_is_socket_connected(ae->sd, l) == JK_FALSE) {
ae->last_errno = errno;
- jk_log(l, JK_LOG_INFO,
+ jk_log(l, JK_LOG_DEBUG,
"(%s) failed sending request, "
"socket %d is not connected any more (errno=%d)",
ae->worker->name, ae->sd, ae->last_errno);
@@ -2368,7 +2368,7 @@
JK_RETRIES);
if (pThis->retries < 1) {
jk_log(l, JK_LOG_INFO,
- "number of retries must be grater then 1. Setting to default=%d",
+ "number of retries must be greater then 1. Setting to default=%d",
JK_RETRIES);
pThis->retries = JK_RETRIES;
}
Modified: tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c?rev=604438&r1=604437&r2=604438&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c Sat Dec 15 07:14:04 2007
@@ -1165,7 +1165,7 @@
rc = JK_FALSE;
}
if (rec->s->state == JK_LB_STATE_ERROR)
- jk_log(l, JK_LOG_ERROR,
+ jk_log(l, JK_LOG_INFO,
"service failed, worker %s is in error state",
rec->s->name);
if (p->worker->lblock == JK_LB_LOCK_PESSIMISTIC)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org