]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
More debug messaging... useful for tracking down
authorJim Jagielski <jim@apache.org>
Sat, 25 Jan 2014 06:06:54 +0000 (06:06 +0000)
committerJim Jagielski <jim@apache.org>
Sat, 25 Jan 2014 06:06:54 +0000 (06:06 +0000)
if we used attach or create

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1561262 13f79535-47bb-0310-9956-ffa450edef68

docs/log-message-tags/next-number
modules/slotmem/mod_slotmem_shm.c

index 4412be74f3006ebd1626615cf35e2e19d459c5b9..12170310d2d0e89af024f297017ffef6a1c47269 100644 (file)
@@ -1 +1 @@
-2598
+2601
index 6c2dd24eae6d88dd3244267288e1ac538abc9d18..602ce2388829edd4edc3c36eae4d6240b6703be1 100644 (file)
@@ -381,6 +381,9 @@ static apr_status_t slotmem_create(ap_slotmem_instance_t **new,
         rv = APR_EINVAL;
     }
     if (rv == APR_SUCCESS) {
+        ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, ap_server_conf, APLOGNO(02598)
+                     "looks like apr_shm_attach() worked...");
+
         /* check size */
         if (apr_shm_size_get(shm) != size) {
             apr_shm_detach(shm);
@@ -393,8 +396,12 @@ static apr_status_t slotmem_create(ap_slotmem_instance_t **new,
             return APR_EINVAL;
         }
         ptr += AP_SLOTMEM_OFFSET;
+        ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, ap_server_conf, APLOGNO(02599)
+                     "apr_shm_attach() for sure worked...");
     }
     else {
+        ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, ap_server_conf, APLOGNO(02600)
+                     "doing a real apr_shm_create()...");
         apr_size_t dsize = size - AP_SLOTMEM_OFFSET;
         if (fbased) {
             apr_shm_remove(fname, gpool);