From: Jim Jagielski Date: Thu, 21 Jan 2016 14:52:43 +0000 (+0000) Subject: Assign log message tags X-Git-Tag: 2.5.0-alpha~2337 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f6c11124248fbae7fb98143a8801af1fa3836a57;p=apache Assign log message tags git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1725967 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/log-message-tags/next-number b/docs/log-message-tags/next-number index 7038a21741..4025184410 100644 --- a/docs/log-message-tags/next-number +++ b/docs/log-message-tags/next-number @@ -1 +1 @@ -3300 +3304 diff --git a/modules/proxy/mod_proxy_hcheck.c b/modules/proxy/mod_proxy_hcheck.c index b36a1ea105..817d9413ee 100644 --- a/modules/proxy/mod_proxy_hcheck.c +++ b/modules/proxy/mod_proxy_hcheck.c @@ -602,7 +602,7 @@ static int hc_read_body (sctx_t *ctx, request_rec *r) rv = APR_SUCCESS; break; } - ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, ctx->s, APLOGNO() + ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, ctx->s, APLOGNO(03300) "Error reading response body"); break; } @@ -723,7 +723,7 @@ static apr_status_t hc_check_http(sctx_t *ctx, apr_pool_t *p, proxy_worker *work "Success checking condition %s", worker->s->hcexpr); } else if (ok < 0 || err) { status = !OK; - ap_log_error(APLOG_MARK, APLOG_INFO, 0, ctx->s, APLOGNO() + ap_log_error(APLOG_MARK, APLOG_INFO, 0, ctx->s, APLOGNO(03301) "Error on checking condition %s: %s", worker->s->hcexpr, err); } else { @@ -773,7 +773,7 @@ static void hc_check(sctx_t *ctx, apr_pool_t *p, apr_time_t now, if (worker->s->pcount >= worker->s->passes) { ap_proxy_set_wstatus(PROXY_WORKER_HC_FAIL_FLAG, 0, worker); worker->s->pcount = 0; - ap_log_error(APLOG_MARK, APLOG_INFO, 0, s, APLOGNO() + ap_log_error(APLOG_MARK, APLOG_INFO, 0, s, APLOGNO(03302) "Health check ENABLING %s", worker->s->name); } @@ -785,7 +785,7 @@ static void hc_check(sctx_t *ctx, apr_pool_t *p, apr_time_t now, if (worker->s->fcount >= worker->s->fails) { ap_proxy_set_wstatus(PROXY_WORKER_HC_FAIL_FLAG, 1, worker); worker->s->fcount = 0; - ap_log_error(APLOG_MARK, APLOG_INFO, 0, s, APLOGNO() + ap_log_error(APLOG_MARK, APLOG_INFO, 0, s, APLOGNO(03303) "Health check DISABLING %s", worker->s->name); } }