aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorVladimir Homutov <vl@nginx.com>2014-05-12 16:34:15 +0400
committerVladimir Homutov <vl@nginx.com>2014-05-12 16:34:15 +0400
commit493b898ae94ae7dd390d77c42f5500974be48393 (patch)
treeb85c242bcdba82459aa209c76efbe0b4f826f103 /src/http/ngx_http_request.h
parent1736c180f4683d57d175b98d5596b779bab950d4 (diff)
downloadnginx-493b898ae94ae7dd390d77c42f5500974be48393.tar.gz
nginx-493b898ae94ae7dd390d77c42f5500974be48393.zip
Added syslog support for error_log and access_log directives.
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r--src/http/ngx_http_request.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h
index c89ef6d14..0d3a79915 100644
--- a/src/http/ngx_http_request.h
+++ b/src/http/ngx_http_request.h
@@ -587,6 +587,8 @@ extern ngx_http_header_out_t ngx_http_headers_out[];
\
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; \
}