]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
get rid of the vestigial ap_open_logs call (and the ap_clear_pool that
authorManoj Kasichainula <manoj@apache.org>
Tue, 3 Aug 1999 20:03:09 +0000 (20:03 +0000)
committerManoj Kasichainula <manoj@apache.org>
Tue, 3 Aug 1999 20:03:09 +0000 (20:03 +0000)
went along with it), to fix logging problems. Sometimes the bug would
show up as a segfault, and sometimes as logging to an incorrect file.

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

server/mpm/dexter/dexter.c
server/mpm/mpmt_pthread/mpmt_pthread.c

index 192616a945319719737f89f98678ac5a2c624e54..a680efb1891e48cedb11fa0431786ad1afcdf953 100644 (file)
@@ -1333,8 +1333,6 @@ int ap_mpm_run(pool *_pconf, pool *plog, server_rec *s)
             "no listening sockets available, shutting down");
         return 1;
     }
-    ap_clear_pool(plog);
-    ap_open_logs(server_conf, plog);
     ap_log_pid(pconf, ap_pid_fname);
     SAFE_ACCEPT(accept_mutex_init(pconf, 1));
     if (!is_graceful) {
index d89db17370121661b4ece488e8c4a59ad7767cfc..33b57491d63419ebae2e4929a1bdffb3c62497c2 100644 (file)
@@ -1377,8 +1377,6 @@ int ap_mpm_run(pool *_pconf, pool *plog, server_rec *s)
             "no listening sockets available, shutting down");
         return 1;
     }
-    ap_clear_pool(plog);
-    ap_open_logs(server_conf, plog);
     ap_log_pid(pconf, ap_pid_fname);
     SAFE_ACCEPT(accept_mutex_init(pconf, 1));
     if (!is_graceful) {