mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user