From 493b898ae94ae7dd390d77c42f5500974be48393 Mon Sep 17 00:00:00 2001 From: Vladimir Homutov Date: Mon, 12 May 2014 16:34:15 +0400 Subject: Added syslog support for error_log and access_log directives. --- src/http/ngx_http_request.h | 2 ++ 1 file changed, 2 insertions(+) (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 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; \ } -- cgit