aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorVladimir Homutov <vl@nginx.com>2015-04-25 22:44:02 +0300
committerVladimir Homutov <vl@nginx.com>2015-04-25 22:44:02 +0300
commitdf555ffce6fe6416cc874dcd69a64584c6c7f5e8 (patch)
tree197ff71ba0b0d9dfa4da7f70e6c5bb1d18ff3c1c /src/http/ngx_http_request.h
parentd61f21c5e8735da57fb1e1c1a91103e71f5c6207 (diff)
downloadnginx-df555ffce6fe6416cc874dcd69a64584c6c7f5e8.tar.gz
nginx-df555ffce6fe6416cc874dcd69a64584c6c7f5e8.zip
Core: the ngx_set_connection_log() macro.
The http and stream versions of this macro were identical.
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r--src/http/ngx_http_request.h11
1 files changed, 0 insertions, 11 deletions
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