httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From roo...@apache.org
Subject svn commit: r408520 - /httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c
Date Sun, 21 May 2006 23:08:56 GMT
Author: rooneg
Date: Sun May 21 16:08:56 2006
New Revision: 408520

URL: http://svn.apache.org/viewvc?rev=408520&view=rev
Log:
Make the logging in mod_proxy_fcgi more consistent.

* modules/proxy/mod_proxy_fcgi.c
  (fcgi_do_request): Log errors as APLOG_ERR.
  (proxy_fcgi_handler): Log debug info as APLOG_DEBUG.

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

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c?rev=408520&r1=408519&r2=408520&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c Sun May 21 16:08:56 2006
@@ -863,7 +863,7 @@
     /* Step 1: Send FCGI_BEGIN_REQUEST */
     rv = send_begin_request(conn, request_id);
     if (rv != APR_SUCCESS) {
-        ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, r->server,
+        ap_log_error(APLOG_MARK, APLOG_ERR, rv, r->server,
                      "proxy: FCGI: Failed Writing Request to %s:",
                      server_portstr);
         conn->close = 1;
@@ -873,7 +873,7 @@
     /* Step 2: Send Enviroment via FCGI_PARAMS */
     rv = send_environment(conn, r, request_id);
     if (rv != APR_SUCCESS) {
-        ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, r->server,
+        ap_log_error(APLOG_MARK, APLOG_ERR, rv, r->server,
                      "proxy: FCGI: Failed writing Environment to %s:",
                      server_portstr);
         conn->close = 1;
@@ -883,7 +883,7 @@
     /* Step 3: Read records from the back end server and handle them. */
     rv = dispatch(conn, r, request_id);
     if (rv != APR_SUCCESS) {
-        ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, r->server,
+        ap_log_error(APLOG_MARK, APLOG_ERR, rv, r->server,
                      "proxy: FCGI: Error dispatching request to %s:",
                      server_portstr);
         conn->close = 1;
@@ -915,7 +915,7 @@
 
     apr_uri_t *uri = apr_palloc(r->pool, sizeof(*uri));
 
-    ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server,
+    ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
                  "proxy: FCGI: url: %s proxyname: %s proxyport: %d",
                  url, proxyname, proxyport);
 
@@ -996,4 +996,3 @@
     NULL,                       /* command apr_table_t */
     register_hooks              /* register hooks */
 };
-



Mime
View raw message