Mercurial > hg > nginx
diff src/core/nginx.c @ 449:3b1e8c9df9ad
nginx-0.1.0-2004-10-04-00:02:06 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 03 Oct 2004 20:02:06 +0000 |
parents | 241dc8092a33 |
children | 23fb87bddda1 |
line wrap: on
line diff
--- a/src/core/nginx.c Fri Oct 01 15:53:53 2004 +0000 +++ b/src/core/nginx.c Sun Oct 03 20:02:06 2004 +0000 @@ -89,7 +89,7 @@ ngx_core_commands, /* module directives */ NGX_CORE_MODULE, /* module type */ NULL, /* init module */ - NULL /* init child */ + NULL /* init process */ }; @@ -146,10 +146,6 @@ if (ngx_test_config) { log->log_level = NGX_LOG_INFO; - } else { - if (ngx_log_init_error_log() == NGX_ERROR) { - return 1; - } } if (ngx_os_init(log) == NGX_ERROR) { @@ -183,6 +179,8 @@ return 0; } + ngx_os_status(cycle->log); + ngx_cycle = cycle; ccf = (ngx_core_conf_t *) ngx_get_conf(cycle->conf_ctx, ngx_core_module);