httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r265505 - /httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c
Date Wed, 31 Aug 2005 15:19:30 GMT
Author: jim
Date: Wed Aug 31 08:19:27 2005
New Revision: 265505

URL: http://svn.apache.org/viewcvs?rev=265505&view=rev
Log:
Some simple debugging log entries

Modified:
    httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c?rev=265505&r1=265504&r2=265505&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c Wed Aug 31 08:19:27 2005
@@ -271,7 +271,12 @@
     int total_factor = 0;
     proxy_worker *worker = (proxy_worker *)balancer->workers->elts;
     proxy_worker *mycandidate = NULL;
-    
+ 
+
+    ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
+                 "proxy: Entering byrequests for BALANCER (%s)",
+                 balancer->name);
+
     /* First try to see if we have available candidate */
     for (i = 0; i < balancer->workers->nelts; i++) {
         /* If the worker is in error state run
@@ -328,6 +333,10 @@
     proxy_worker *worker = (proxy_worker *)balancer->workers->elts;
     proxy_worker *mycandidate = NULL;
     
+    ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
+                 "proxy: Entering bytraffic for BALANCER (%s)",
+                 balancer->name);
+
     /* First try to see if we have available candidate */
     for (i = 0; i < balancer->workers->nelts; i++) {
         /* If the worker is in error state run



Mime
View raw message