1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

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


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@962972 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jeff Trawick
2010-07-11 02:54:30 +00:00
parent a484fd7007
commit e6fcd04001

View File

@@ -617,8 +617,9 @@ static int proxy_balancer_post_request(proxy_worker *worker,
for (i = 0; i < balancer->errstatuses->nelts; i++) { for (i = 0; i < balancer->errstatuses->nelts; i++) {
int val = ((int *)balancer->errstatuses->elts)[i]; int val = ((int *)balancer->errstatuses->elts)[i];
if (r->status == val) { if (r->status == val) {
ap_log_error(APLOG_MARK, APLOG_NOTICE, rv, r->server, ap_log_error(APLOG_MARK, APLOG_ERR, rv, r->server,
"Detected ErrorOnState (%d) for member (%s). Forcing worker into error state.", val, worker->name); "proxy: BALANCER: (%s). Forcing recovery for worker (%s), erroronstatus %d",
balancer->name, worker->name, val);
worker->s->status |= PROXY_WORKER_IN_ERROR; worker->s->status |= PROXY_WORKER_IN_ERROR;
worker->s->error_time = apr_time_now(); worker->s->error_time = apr_time_now();
break; break;