diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-12-09 15:08:11 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-12-09 15:08:11 +0000 |
commit | 2b58fbf045acee349c323de8f50501f94c41c04d (patch) | |
tree | 32c1e5848f1b0945dba64fa29e93bd328d71e146 /src/core/ngx_log.c | |
parent | 5f80078c675bc344d12a6a64d97ecafb64de224b (diff) | |
download | nginx-2b58fbf045acee349c323de8f50501f94c41c04d.tar.gz nginx-2b58fbf045acee349c323de8f50501f94c41c04d.zip |
nginx-0.0.1-2003-12-09-18:08:11 import
Diffstat (limited to 'src/core/ngx_log.c')
-rw-r--r-- | src/core/ngx_log.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/ngx_log.c b/src/core/ngx_log.c index b615c7ea2..fede0a079 100644 --- a/src/core/ngx_log.c +++ b/src/core/ngx_log.c @@ -323,7 +323,7 @@ static char *ngx_set_error_log(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) } d = NGX_LOG_DEBUG_FIRST; - for (n = 0; n < /* STUB */ 3; n++) { + for (n = 0; n < /* STUB */ 4; n++) { if (ngx_strcmp(value[i].data, debug_levels[n]) == 0) { if (cf->cycle->log->log_level & ~NGX_LOG_DEBUG_ALL) { ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, @@ -333,9 +333,9 @@ static char *ngx_set_error_log(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) } cf->cycle->log->log_level |= d; - d <<= 1; - continue; } + + d <<= 1; } |