Mercurial > hg > nginx
diff src/core/ngx_log.c @ 379:73688d5d7fc3
nginx-0.0.7-2004-07-06-20:12:16 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 06 Jul 2004 16:12:16 +0000 |
parents | 1308b98496a2 |
children | 3c56e834be46 |
line wrap: on
line diff
--- a/src/core/ngx_log.c +++ b/src/core/ngx_log.c @@ -47,7 +47,7 @@ static const char *err_levels[] = { }; static const char *debug_levels[] = { - "debug_core", "debug_alloc", "debug_event", "debug_http" + "debug_core", "debug_alloc", "debug_mutex", "debug_event", "debug_http" }; @@ -279,10 +279,6 @@ ngx_log_t *ngx_log_init_errlog() ngx_log.file = &ngx_stderr; ngx_log.log_level = NGX_LOG_INFO; -#if 0 - /* STUB */ ngx_log.log_level = NGX_LOG_DEBUG; -#endif - return &ngx_log; } @@ -303,10 +299,6 @@ ngx_log_t *ngx_log_create_errlog(ngx_cyc ngx_test_null(log, ngx_pcalloc(cycle->pool, sizeof(ngx_log_t)), NULL); ngx_test_null(log->file, ngx_conf_open_file(cycle, name), NULL); -#if 0 - /* STUB */ log->log_level = NGX_LOG_DEBUG | NGX_LOG_DEBUG_CORE | NGX_LOG_DEBUG_ALLOC | NGX_LOG_DEBUG_EVENT | NGX_LOG_DEBUG_HTTP; -#endif - return log; }