]> granicus.if.org Git - apache/commitdiff
We must scream certain errors from the rooftop!
authorWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 17 Aug 2001 15:28:33 +0000 (15:28 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 17 Aug 2001 15:28:33 +0000 (15:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90279 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/winnt/mpm_winnt.c

index f27ae67fca24bd16127c2e8d31959d4dacfd95e9..8e680c457e093485f92925ec707b0f63ddf19f19 100644 (file)
@@ -1668,7 +1668,7 @@ void winnt_rewrite_args(process_rec *process)
      */
     if (!GetModuleFileName(NULL, fnbuf, sizeof(fnbuf))) {
         rv = apr_get_os_error();
-        ap_log_error(APLOG_MARK,APLOG_ERR, rv, NULL, 
+        ap_log_error(APLOG_MARK,APLOG_EMERG, rv, NULL, 
                      "Failed to get the path of Apache.exe");
         exit(1);
     }
@@ -1772,7 +1772,7 @@ void winnt_rewrite_args(process_rec *process)
     {
         if (service_set == APR_SUCCESS) 
         {
-            ap_log_error(APLOG_MARK,APLOG_ERR, 0, NULL,
+            ap_log_error(APLOG_MARK,APLOG_EMERG, 0, NULL,
                  "%s: Service is already installed.", service_name);
             exit(1);
         }
@@ -1789,14 +1789,14 @@ void winnt_rewrite_args(process_rec *process)
                              "\"%s\".", service_name);
             }
            else  {
-                ap_log_error(APLOG_MARK,APLOG_INFO, rv, NULL,
+                ap_log_error(APLOG_MARK,APLOG_WARN, rv, NULL,
                              "No installed ConfigArgs for the service "
                              "\"%s\", using Apache defaults.", service_name);
            }
         }
         else
         {
-            ap_log_error(APLOG_MARK,APLOG_INFO|APLOG_NOERRNO, 0, NULL,
+            ap_log_error(APLOG_MARK,APLOG_EMERG, service_set, NULL,
                  "No installed service named \"%s\".", service_name);
             exit(1);
         }
@@ -1832,7 +1832,7 @@ static void winnt_pre_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *pt
     if (!strcasecmp(signal_arg, "runservice")
             && (osver.dwPlatformId == VER_PLATFORM_WIN32_NT)
             && (service_to_start_success != APR_SUCCESS)) {
-        ap_log_error(APLOG_MARK,APLOG_ERR, service_to_start_success, NULL, 
+        ap_log_error(APLOG_MARK,APLOG_EMERG, service_to_start_success, NULL, 
                      "%s: Unable to start the service manager.",
                      service_name);
         exit(1);
@@ -1940,7 +1940,7 @@ static void winnt_post_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *p
                 {
                     rv = mpm_service_to_start(&service_name);
                     if (rv != APR_SUCCESS) {
-                        ap_log_error(APLOG_MARK,APLOG_ERR, rv, server_conf,
+                        ap_log_error(APLOG_MARK,APLOG_EMERG, rv, server_conf,
                                      "%s: Unable to start the service manager.",
                                      service_name);
                         exit(1);
@@ -2000,7 +2000,7 @@ AP_DECLARE(int) ap_mpm_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s )
     else { 
         /* Parent process */
         if (ap_setup_listeners(server_conf) < 1) {
-            ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ALERT, 0, s,
+            ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_EMERG, 0, s,
                          "no listening sockets available, shutting down");
             return 1;
         }