Commit 34a2a9f2 authored by Jim Jagielski's avatar Jim Jagielski
Browse files

Some simple debugging log entries


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@265505 13f79535-47bb-0310-9956-ffa450edef68
parent e36ea9a9
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -272,6 +272,11 @@ static proxy_worker *find_best_byrequests(proxy_balancer *balancer,
    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 @@ static proxy_worker *find_best_bytraffic(proxy_balancer *balancer,
    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