aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_log.c')
-rw-r--r--src/core/ngx_log.c10
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;
}