diff src/os/unix/ngx_process.c @ 477:ad1e9ebf93bb release-0.1.13

nginx-0.1.13-RELEASE import *) Feature: the server_names_hash and server_names_hash_threshold directives. *) Bugfix: the *.domain.tld names in the "server_name" directive did not work. *) Bugfix: the %request_length log parameter logged the incorrect length.
author Igor Sysoev <igor@sysoev.ru>
date Tue, 21 Dec 2004 12:30:30 +0000
parents a88a3e4e158f
children d4ea69372b94
line wrap: on
line diff
--- a/src/os/unix/ngx_process.c	Mon Dec 06 14:45:08 2004 +0000
+++ b/src/os/unix/ngx_process.c	Tue Dec 21 12:30:30 2004 +0000
@@ -142,8 +142,7 @@
         break;
     }
 
-    ngx_log_debug2(NGX_LOG_DEBUG_CORE, cycle->log, 0,
-                   "spawn %s: %P", name, pid);
+    ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, "start %s %P", name, pid);
 
     ngx_processes[s].pid = pid;
     ngx_processes[s].exited = 0;
@@ -216,6 +215,7 @@
     ngx_int_t        i;
     ngx_uint_t       one;
     struct timeval   tv;
+
     one = 0;
 
     for ( ;; ) {
@@ -287,7 +287,7 @@
                           WCOREDUMP(status) ? " (core dumped)" : "");
 
         } else {
-            ngx_log_error(NGX_LOG_INFO, ngx_cycle->log, 0,
+            ngx_log_error(NGX_LOG_NOTICE, ngx_cycle->log, 0,
                           "%s %P exited with code %d",
                           process, pid, WEXITSTATUS(status));
         }