mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Added many log numbers to log statements that
had none. Handled all files in modules/. I used the coccinelle script provided by Stefan. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1725392 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -142,7 +142,7 @@ static int exipc_post_config(apr_pool_t *pconf, apr_pool_t *plog,
|
||||
*/
|
||||
rs = apr_temp_dir_get(&tempdir, pconf);
|
||||
if (APR_SUCCESS != rs) {
|
||||
ap_log_error(APLOG_MARK, APLOG_ERR, rs, s,
|
||||
ap_log_error(APLOG_MARK, APLOG_ERR, rs, s, APLOGNO(02992)
|
||||
"Failed to find temporary directory");
|
||||
return HTTP_INTERNAL_SERVER_ERROR;
|
||||
}
|
||||
@@ -160,7 +160,7 @@ static int exipc_post_config(apr_pool_t *pconf, apr_pool_t *plog,
|
||||
rs = apr_shm_create(&exipc_shm, sizeof(exipc_data),
|
||||
(const char *) shmfilename, pconf);
|
||||
if (APR_SUCCESS != rs) {
|
||||
ap_log_error(APLOG_MARK, APLOG_ERR, rs, s,
|
||||
ap_log_error(APLOG_MARK, APLOG_ERR, rs, s, APLOGNO(02993)
|
||||
"Failed to create shared memory segment on file %s",
|
||||
shmfilename);
|
||||
return HTTP_INTERNAL_SERVER_ERROR;
|
||||
@@ -205,7 +205,7 @@ static void exipc_child_init(apr_pool_t *p, server_rec *s)
|
||||
apr_global_mutex_lockfile(exipc_mutex),
|
||||
p);
|
||||
if (APR_SUCCESS != rs) {
|
||||
ap_log_error(APLOG_MARK, APLOG_CRIT, rs, s,
|
||||
ap_log_error(APLOG_MARK, APLOG_CRIT, rs, s, APLOGNO(02994)
|
||||
"Failed to reopen mutex %s in child",
|
||||
exipc_mutex_type);
|
||||
/* There's really nothing else we can do here, since This
|
||||
@@ -265,7 +265,7 @@ static int exipc_handler(request_rec *r)
|
||||
}
|
||||
else {
|
||||
/* Some error, log and bail */
|
||||
ap_log_error(APLOG_MARK, APLOG_ERR, rs, r->server,
|
||||
ap_log_error(APLOG_MARK, APLOG_ERR, rs, r->server, APLOGNO(02995)
|
||||
"Child %ld failed to acquire lock",
|
||||
(long int)getpid());
|
||||
break; /* Out of the loop without having the lock */
|
||||
@@ -273,7 +273,7 @@ static int exipc_handler(request_rec *r)
|
||||
}
|
||||
else {
|
||||
/* Some other error, log and bail */
|
||||
ap_log_error(APLOG_MARK, APLOG_ERR, rs, r->server,
|
||||
ap_log_error(APLOG_MARK, APLOG_ERR, rs, r->server, APLOGNO(02996)
|
||||
"Child %ld failed to try and acquire lock",
|
||||
(long int)getpid());
|
||||
break; /* Out of the loop without having the lock */
|
||||
|
Reference in New Issue
Block a user