httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Covener" <cove...@gmail.com>
Subject [PATCH] log path to config file during startup
Date Mon, 16 Oct 2006 18:50:12 GMT
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
covener@gmail.com

Mime
View raw message