diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-07-06 16:12:16 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-07-06 16:12:16 +0000 |
commit | 81a432a185bc61d46a4d5eb1f96773ee7b3dc6a3 (patch) | |
tree | 2fc767b2b984c999342761308464c701c6d09457 /src/core/ngx_log.c | |
parent | 40e877165a22f19359344d897c68da4fce62f6c1 (diff) | |
download | nginx-81a432a185bc61d46a4d5eb1f96773ee7b3dc6a3.tar.gz nginx-81a432a185bc61d46a4d5eb1f96773ee7b3dc6a3.zip |
nginx-0.0.7-2004-07-06-20:12:16 import
Diffstat (limited to 'src/core/ngx_log.c')
-rw-r--r-- | src/core/ngx_log.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/core/ngx_log.c b/src/core/ngx_log.c index 531c86080..7638b6a70 100644 --- 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_cycle_t *cycle, ngx_array_t *args) 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; } |