]> granicus.if.org Git - apache/commitdiff
This is always displayed to the console. There is no reason to print the
authorRyan Bloom <rbb@apache.org>
Fri, 10 Nov 2000 14:55:27 +0000 (14:55 +0000)
committerRyan Bloom <rbb@apache.org>
Fri, 10 Nov 2000 14:55:27 +0000 (14:55 +0000)
date and time to the console, so we should use APLOG_STARTUP to suppress
them

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

server/util.c

index ab5afea3bb2cf8ebf8705af1fb5de3a1a641f6b0..1bd2e355ee4e48b1fca4e9227c2aeaa8e0aa90d2 100644 (file)
@@ -1950,7 +1950,7 @@ char *ap_get_local_host(apr_pool_t *a)
     if (!server_hostname) 
         server_hostname = apr_pstrdup(a, "127.0.0.1");
 
-    ap_log_error(APLOG_MARK, APLOG_ALERT|APLOG_NOERRNO, 0, NULL,
+    ap_log_error(APLOG_MARK, APLOG_ALERT|APLOG_NOERRNO|APLOG_STARTUP, 0, NULL,
                  "%s: Could not find determine the server's fully qualified "
                  "domain name, using %s for ServerName",
                  ap_server_argv0, server_hostname);