summaryrefslogtreecommitdiffstats
path: root/modules/proxy/proxy_util.c
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2011-11-18 22:49:44 +0100
committerStefan Fritsch <sf@apache.org>2011-11-18 22:49:44 +0100
commit2bd6f96a1a7a06a026b5ccf18792e8c522f8f4aa (patch)
tree4b04d457ca9193a054e00a8e928fb0fa1f220441 /modules/proxy/proxy_util.c
parentgreat proxy logging cleanup: (diff)
downloadapache2-2bd6f96a1a7a06a026b5ccf18792e8c522f8f4aa.tar.xz
apache2-2bd6f96a1a7a06a026b5ccf18792e8c522f8f4aa.zip
Log fatal errors at level CRIT, not at some random level from DEBUG to EMERG
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1203868 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--modules/proxy/proxy_util.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c
index 799fde21bd..17f6ec8dc6 100644
--- a/modules/proxy/proxy_util.c
+++ b/modules/proxy/proxy_util.c
@@ -1396,7 +1396,7 @@ PROXY_DECLARE(apr_status_t) ap_proxy_initialize_balancer(proxy_balancer *balance
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_initialize_balancer(proxy_balancer *balance
* 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_initialize_balancer(proxy_balancer *balance
/* 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_initialize_balancer(proxy_balancer *balance
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;
}