diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-12-21 12:30:30 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-12-21 12:30:30 +0000 |
commit | b1dfe478a03ad6919f174812951f6a2bec8befae (patch) | |
tree | d8802484f8dbf5309b17a95b5fc9749627720a53 /src/os/unix/ngx_process.c | |
parent | 5275a8b3ac534ff36973801ec2aa6ce1214d7cc9 (diff) | |
download | nginx-b1dfe478a03ad6919f174812951f6a2bec8befae.tar.gz nginx-b1dfe478a03ad6919f174812951f6a2bec8befae.zip |
nginx-0.1.13-RELEASE importrelease-0.1.13
*) 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.
Diffstat (limited to 'src/os/unix/ngx_process.c')
-rw-r--r-- | src/os/unix/ngx_process.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/os/unix/ngx_process.c b/src/os/unix/ngx_process.c index 3141e1403..0825c5f3a 100644 --- a/src/os/unix/ngx_process.c +++ b/src/os/unix/ngx_process.c @@ -142,8 +142,7 @@ ngx_pid_t ngx_spawn_process(ngx_cycle_t *cycle, 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 @@ void ngx_process_get_status() ngx_int_t i; ngx_uint_t one; struct timeval tv; + one = 0; for ( ;; ) { @@ -287,7 +287,7 @@ void ngx_process_get_status() 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)); } |