httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r962972 - /httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c
Date Sun, 11 Jul 2010 02:54:30 GMT
Author: trawick
Date: Sun Jul 11 02:54:30 2010
New Revision: 962972

URL: http://svn.apache.org/viewvc?rev=962972&view=rev
Log:
follow up to r930125

change log message when forcing worker into error state:
* APLOG_ERR instead of unsuppressible APLOG_NOTICE
* follow formatting of existing proxy messages more closely

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/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c?rev=962972&r1=962971&r2=962972&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c Sun Jul 11 02:54:30 2010
@@ -617,8 +617,9 @@ static int proxy_balancer_post_request(p
         for (i = 0; i < balancer->errstatuses->nelts; i++) {
             int val = ((int *)balancer->errstatuses->elts)[i];
             if (r->status == val) {
-                ap_log_error(APLOG_MARK, APLOG_NOTICE, rv, r->server,
-                    "Detected ErrorOnState (%d) for member (%s). Forcing worker into error
state.", val, worker->name);
+                ap_log_error(APLOG_MARK, APLOG_ERR, rv, r->server,
+                             "proxy: BALANCER: (%s).  Forcing recovery for worker (%s), erroronstatus
%d",
+                             balancer->name, worker->name, val);
                 worker->s->status |= PROXY_WORKER_IN_ERROR;
                 worker->s->error_time = apr_time_now();
                 break;



Mime
View raw message