httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1203880 - /httpd/httpd/branches/2.4.x/modules/proxy/proxy_util.c
Date Fri, 18 Nov 2011 22:04:28 GMT
Author: sf
Date: Fri Nov 18 22:04:28 2011
New Revision: 1203880

URL: http://svn.apache.org/viewvc?rev=1203880&view=rev
Log:
Backport r1203868:

Log fatal errors at level CRIT, not at some random level from DEBUG to EMERG

Modified:
    httpd/httpd/branches/2.4.x/modules/proxy/proxy_util.c

Modified: httpd/httpd/branches/2.4.x/modules/proxy/proxy_util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/modules/proxy/proxy_util.c?rev=1203880&r1=1203879&r2=1203880&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/modules/proxy/proxy_util.c (original)
+++ httpd/httpd/branches/2.4.x/modules/proxy/proxy_util.c Fri Nov 18 22:04:28 2011
@@ -1396,7 +1396,7 @@ PROXY_DECLARE(apr_status_t) ap_proxy_ini
     unsigned int num;
 
     if (!storage) {
-        ap_log_error(APLOG_MARK, APLOG_INFO, 0, s,
+        ap_log_error(APLOG_MARK, APLOG_CRIT, 0, s,
                      "no provider for %s", balancer->name);
         return APR_EGENERAL;
     }
@@ -1405,7 +1405,7 @@ PROXY_DECLARE(apr_status_t) ap_proxy_ini
      * mutex and then attach to the shared worker shm
      */
     if (!balancer->gmutex) {
-        ap_log_error(APLOG_MARK, APLOG_INFO, 0, s,
+        ap_log_error(APLOG_MARK, APLOG_CRIT, 0, s,
                      "no mutex %s", balancer->name);
         return APR_EGENERAL;
     }
@@ -1424,7 +1424,7 @@ PROXY_DECLARE(apr_status_t) ap_proxy_ini
     /* now attach */
     storage->attach(&(balancer->slot), balancer->sname, &size, &num,
p);
     if (!balancer->slot) {
-        ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_EMERG, 0, s, "slotmem_attach failed");
+        ap_log_error(APLOG_MARK, APLOG_CRIT, 0, s, "slotmem_attach failed");
         return APR_EGENERAL;
     }
     if (balancer->lbmethod && balancer->lbmethod->reset)
@@ -1433,7 +1433,7 @@ PROXY_DECLARE(apr_status_t) ap_proxy_ini
     if (balancer->tmutex == NULL) {
         rv = apr_thread_mutex_create(&(balancer->tmutex), APR_THREAD_MUTEX_DEFAULT,
p);
         if (rv != APR_SUCCESS) {
-            ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s,
+            ap_log_error(APLOG_MARK, APLOG_CRIT, 0, s,
                          "can not create balancer thread mutex");
             return rv;
         }



Mime
View raw message