httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r1032290 - /httpd/httpd/trunk/modules/proxy/proxy_util.c
Date Sun, 07 Nov 2010 14:49:58 GMT
Author: trawick
Date: Sun Nov  7 14:49:58 2010
New Revision: 1032290

URL: http://svn.apache.org/viewvc?rev=1032290&view=rev
Log:
log how long worker will be disabled

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

Modified: httpd/httpd/trunk/modules/proxy/proxy_util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/proxy_util.c?rev=1032290&r1=1032289&r2=1032290&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/proxy_util.c (original)
+++ httpd/httpd/trunk/modules/proxy/proxy_util.c Sun Nov  7 14:49:58 2010
@@ -2594,8 +2594,9 @@ PROXY_DECLARE(int) ap_proxy_connect_back
         worker->s->error_time = apr_time_now();
         worker->s->status |= PROXY_WORKER_IN_ERROR;
         ap_log_error(APLOG_MARK, APLOG_ERR, 0, s,
-            "ap_proxy_connect_backend disabling worker for (%s)",
-            worker->hostname);
+            "ap_proxy_connect_backend disabling worker for (%s) for %"
+            APR_TIME_T_FMT "s",
+            worker->hostname, apr_time_sec(worker->retry));
     }
     else {
         if (worker->s->retries) {



Mime
View raw message