summaryrefslogtreecommitdiffstats
path: root/include/http_log.h
diff options
context:
space:
mode:
authorDaniel Earl Poirier <poirier@apache.org>2010-02-16 21:50:10 +0100
committerDaniel Earl Poirier <poirier@apache.org>2010-02-16 21:50:10 +0100
commit0c96068dc42769570088980c7436ba8b9dcf0123 (patch)
tree2f57ba5a555ffc8ce0228f7d83971d853de1ff4b /include/http_log.h
parentFix compile warning (discarding constness of fname) (diff)
downloadapache2-0c96068dc42769570088980c7436ba8b9dcf0123.tar.xz
apache2-0c96068dc42769570088980c7436ba8b9dcf0123.zip
Log command line on startup, so there's a record of command line
arguments like -f. Suggested by Shaya Potter. [Dan Poirier] PR: 48752 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@910684 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_log.h')
-rw-r--r--include/http_log.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/http_log.h b/include/http_log.h
index d8d2b02be3..80e8b9fa67 100644
--- a/include/http_log.h
+++ b/include/http_log.h
@@ -250,6 +250,14 @@ AP_DECLARE(void) ap_log_cerror(const char *file, int line, int level,
AP_DECLARE(void) ap_error_log2stderr(server_rec *s);
/**
+ * Log the command line used to start the server.
+ * @param p The pool to use for logging
+ * @param s The server_rec whose process's command line we want to log.
+ * The command line is logged to that server's error log.
+ */
+AP_DECLARE(void) ap_log_command_line(apr_pool_t *p, server_rec *s);
+
+/**
* Log the current pid of the parent process
* @param p The pool to use for logging
* @param fname The name of the file to log to