Author: jfrederic.clere(a)jboss.com
Date: 2008-10-07 05:27:14 -0400 (Tue, 07 Oct 2008)
New Revision: 1939
Modified:
trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c
Log:
Improve traces.
Modified: trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c
===================================================================
--- trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c 2008-10-07 07:02:57 UTC
(rev 1938)
+++ trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c 2008-10-07 09:27:14 UTC
(rev 1939)
@@ -376,11 +376,6 @@
id = apr_pcalloc(pool, sizeof(int) * node_storage->get_max_size_node());
size = node_storage->get_ids_used_node(id);
- /* XXX: How to skip the balancer that aren't controled by mod_manager */
-
- ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, server,
- "update_workers_lbstatus starting");
-
/* update lbstatus if needed */
for (i=0; i<size; i++) {
nodeinfo_t *ou;
@@ -400,8 +395,6 @@
stat->lbstatus = ((elected - oldelected) * 1000) / stat->lbfactor;
}
}
- ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, server,
- "update_workers_lbstatus done");
}
/* reslist constructor */
@@ -1486,6 +1479,8 @@
if (!*balancer &&
!(*balancer = ap_proxy_get_balancer(r->pool, conf, *url))) {
apr_thread_mutex_unlock(lock);
+ ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
+ "proxy: CLUSTER no balancer for %s", *url);
return DECLINED;
}
Show replies by date