Mercurial > hg > nginx
diff src/core/nginx.c @ 92:19cc647ecd91
nginx-0.0.1-2003-05-20-19:37:55 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 20 May 2003 15:37:55 +0000 |
parents | 637625a2acdb |
children | a23d010f356d |
line wrap: on
line diff
--- a/src/core/nginx.c Mon May 19 16:39:14 2003 +0000 +++ b/src/core/nginx.c Tue May 20 15:37:55 2003 +0000 @@ -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 @@ 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;