httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1726417 - /httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c
Date Sat, 23 Jan 2016 17:37:36 GMT
Author: jim
Date: Sat Jan 23 17:37:36 2016
New Revision: 1726417

URL: http://svn.apache.org/viewvc?rev=1726417&view=rev
Log:
better logging

Modified:
    httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c?rev=1726417&r1=1726416&r2=1726417&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c Sat Jan 23 17:37:36 2016
@@ -744,15 +744,17 @@ static apr_status_t hc_check_http(sctx_t
         if (ok > 0) {
             status = OK;
             ap_log_error(APLOG_MARK, APLOG_TRACE2, 0, ctx->s,
-                         "Condition %s: passed", worker->s->hcexpr);
+                         "Condition %s for %s (%s): passed", worker->s->hcexpr,
+                         hc->s->name, worker->s->name);
         } else if (ok < 0 || err) {
             status = !OK;
             ap_log_error(APLOG_MARK, APLOG_INFO, 0, ctx->s, APLOGNO(03301)
-                         "Error on checking condition %s: %s", worker->s->hcexpr,
-                         err);
+                         "Error on checking condition %s for %s (%s): %s", worker->s->hcexpr,
+                         hc->s->name, worker->s->name, err);
         } else {
             ap_log_error(APLOG_MARK, APLOG_TRACE2, 0, ctx->s,
-                         "Condition %s: failed", worker->s->hcexpr);
+                         "Condition %s for %s (%s) : failed", worker->s->hcexpr,
+                         hc->s->name, worker->s->name);
             status = !OK;
         }
     } else if (r->status < 200 || r->status > 399) {



Mime
View raw message