From df555ffce6fe6416cc874dcd69a64584c6c7f5e8 Mon Sep 17 00:00:00 2001 From: Vladimir Homutov Date: Sat, 25 Apr 2015 22:44:02 +0300 Subject: Core: the ngx_set_connection_log() macro. The http and stream versions of this macro were identical. --- src/http/ngx_http_request.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/http/ngx_http_request.h') diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h index ead4d236f..3954de3f1 100644 --- a/src/http/ngx_http_request.h +++ b/src/http/ngx_http_request.h @@ -586,17 +586,6 @@ extern ngx_http_header_t ngx_http_headers_in[]; extern ngx_http_header_out_t ngx_http_headers_out[]; -#define ngx_http_set_connection_log(c, l) \ - \ - c->log->file = l->file; \ - c->log->next = l->next; \ - c->log->writer = l->writer; \ - c->log->wdata = l->wdata; \ - if (!(c->log->log_level & NGX_LOG_DEBUG_CONNECTION)) { \ - c->log->log_level = l->log_level; \ - } - - #define ngx_http_set_log_request(log, r) \ ((ngx_http_log_ctx_t *) log->data)->current_request = r -- cgit v1.2.3