From 0c96068dc42769570088980c7436ba8b9dcf0123 Mon Sep 17 00:00:00 2001 From: Daniel Earl Poirier Date: Tue, 16 Feb 2010 20:50:10 +0000 Subject: 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 --- include/http_log.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/http_log.h') 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 @@ -249,6 +249,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 -- cgit v1.2.3