Author: jfrederic.clere(a)jboss.com
Date: 2009-03-18 09:42:02 -0400 (Wed, 18 Mar 2009)
New Revision: 2374
Modified:
trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c
Log:
Add some debug...
Modified: trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c
===================================================================
--- trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c 2009-03-17 17:19:02 UTC
(rev 2373)
+++ trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c 2009-03-18 13:42:02 UTC
(rev 2374)
@@ -1454,6 +1454,10 @@
*/
static int proxy_cluster_canon(request_rec *r, char *url)
{
+#if HAVE_CLUSTER_EX_DEBUG
+ ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_DEBUG, 0, r->server,
+ "proxy_cluster_canon url: %s", url);
+#endif
if (strncasecmp(url, "balancer:", 9) == 0) {
return OK; /* XXX: need more */
}
@@ -1758,6 +1762,10 @@
apr_status_t rv;
*worker = NULL;
+#if HAVE_CLUSTER_EX_DEBUG
+ ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
+ "proxy_cluster_pre_request: url %s", *url);
+#endif
/* Step 1: check if the url is for us
* The url we can handle starts with 'balancer://'
* If balancer is already provided skip the search
Show replies by date