diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-05-20 15:37:55 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-05-20 15:37:55 +0000 |
commit | 1c13c662f0ae8066d1d4849b4158d7459a4c7822 (patch) | |
tree | a8e517c0d41e922b1d3744d869edc60ed540b2d9 /src/core/nginx.c | |
parent | a98301160de4c12f455cca8f78509f2e04626c0b (diff) | |
download | nginx-1c13c662f0ae8066d1d4849b4158d7459a4c7822.tar.gz nginx-1c13c662f0ae8066d1d4849b4158d7459a4c7822.zip |
nginx-0.0.1-2003-05-20-19:37:55 import
Diffstat (limited to 'src/core/nginx.c')
-rw-r--r-- | src/core/nginx.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/core/nginx.c b/src/core/nginx.c index 6fbc33bfd..70ff149cf 100644 --- a/src/core/nginx.c +++ b/src/core/nginx.c @@ -6,13 +6,6 @@ #include <ngx_core.h> #include <ngx_connection.h> #include <ngx_os_init.h> -#include <ngx_string.h> -#include <ngx_errno.h> -#include <ngx_time.h> -#include <ngx_log.h> -#include <ngx_alloc.h> -#include <ngx_array.h> -#include <ngx_socket.h> #include <ngx_server.h> #include <ngx_listen.h> #include <ngx_conf_file.h> @@ -55,8 +48,12 @@ int main(int argc, char *const *argv) ngx_str_t conf_file; ngx_conf_t conf; - /* STUB */ - ngx_log.log_level = NGX_LOG_DEBUG; + ngx_max_sockets = -1; + + ngx_log.fd = STDERR_FILENO; + ngx_log.log_level = NGX_LOG_INFO; + + /* STUB */ ngx_log.log_level = NGX_LOG_DEBUG; if (ngx_os_init(&ngx_log) == NGX_ERROR) { return 1; |