Patch below logs the path to the config file just before ap_mpm_run()

Can help clear up some mysteries when posthumously analyzing an ErrorLog

Index: server/main.c
===================================================================
--- server/main.c       (revision 464572)
+++ server/main.c       (working copy)
@@ -742,6 +742,9 @@
            destroy_and_exit_process(process, 1);
        }

+        ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, NULL,
+                     "Using config file %s",
ap_server_root_relative(ptemp, confname));
+
        apr_pool_destroy(ptemp);
        apr_pool_lock(pconf, 1);


--
Eric Covener
[EMAIL PROTECTED]
Index: server/main.c
===================================================================
--- server/main.c	(revision 464572)
+++ server/main.c	(working copy)
@@ -742,6 +742,9 @@
             destroy_and_exit_process(process, 1);
         }
 
+        ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, NULL,
+                     "Using config file %s", ap_server_root_relative(ptemp, confname));
+
         apr_pool_destroy(ptemp);
         apr_pool_lock(pconf, 1);
 

Reply via email to