diff --git a/native/mod_proxy_cluster/mod_proxy_cluster.c b/native/mod_proxy_cluster/mod_proxy_cluster.c index 45e30cc67..1a846c2b0 100644 --- a/native/mod_proxy_cluster/mod_proxy_cluster.c +++ b/native/mod_proxy_cluster/mod_proxy_cluster.c @@ -3931,16 +3931,18 @@ static int proxy_cluster_post_request(proxy_worker *worker, for (i = 0; i < balancer->errstatuses->nelts; i++) { int val = ((int *)balancer->errstatuses->elts)[i]; if (r->status == val) { - ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(01174) + ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, "%s: Forcing worker (%s) into error state " "due to status code %d matching 'failonstatus' " "balancer parameter", #if AP_MODULE_MAGIC_AT_LEAST(20101223,1) balancer->s->name, + worker->s->name, #else balancer->name, + worker->name, #endif - worker->s->name, val); + val); worker->s->status |= PROXY_WORKER_IN_ERROR; worker->s->error_time = apr_time_now(); break;