diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-04-30 13:53:42 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-04-30 13:53:42 +0000 |
commit | 0cd76ea2902588a7f3baea47407c48956aaa19e6 (patch) | |
tree | 34e7bfe5726c80f084bd6a7f04a3d40b3e0cb877 /src/http/ngx_http.c | |
parent | 06d4aa1883034b6117a29887bc90a74ae433f3fd (diff) | |
download | nginx-0cd76ea2902588a7f3baea47407c48956aaa19e6.tar.gz nginx-0cd76ea2902588a7f3baea47407c48956aaa19e6.zip |
*) refactor error_log processing: listen socket log might inherit built-in
error_log with zero level, and r2447, r2466, r2467 were not enough
*) remove bogus "stderr" level
*) some functions and fields renames
Diffstat (limited to 'src/http/ngx_http.c')
-rw-r--r-- | src/http/ngx_http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c index 5cd0ee1f8..5e487e75c 100644 --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c @@ -1746,7 +1746,7 @@ ngx_http_add_listening(ngx_conf_t *cf, ngx_http_conf_addr_t *addr) clcf = cscf->ctx->loc_conf[ngx_http_core_module.ctx_index]; - ls->log = *clcf->err_log; + ls->logp = clcf->error_log; ls->log.data = &ls->addr_text; ls->log.handler = ngx_accept_log_error; |