comparison src/http/ngx_http.c @ 2785:d478379e51ac

*) 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
author Igor Sysoev <igor@sysoev.ru>
date Thu, 30 Apr 2009 13:53:42 +0000
parents 6caf687a831f
children a445bd4eb571
comparison
equal deleted inserted replaced
2784:c2230102df6f 2785:d478379e51ac
1744 ls->pool_size = cscf->connection_pool_size; 1744 ls->pool_size = cscf->connection_pool_size;
1745 ls->post_accept_timeout = cscf->client_header_timeout; 1745 ls->post_accept_timeout = cscf->client_header_timeout;
1746 1746
1747 clcf = cscf->ctx->loc_conf[ngx_http_core_module.ctx_index]; 1747 clcf = cscf->ctx->loc_conf[ngx_http_core_module.ctx_index];
1748 1748
1749 ls->log = *clcf->err_log; 1749 ls->logp = clcf->error_log;
1750 ls->log.data = &ls->addr_text; 1750 ls->log.data = &ls->addr_text;
1751 ls->log.handler = ngx_accept_log_error; 1751 ls->log.handler = ngx_accept_log_error;
1752 1752
1753 #if (NGX_WIN32) 1753 #if (NGX_WIN32)
1754 { 1754 {