comparison src/http/ngx_http_request.h @ 5702:777202558122

Added syslog support for error_log and access_log directives.
author Vladimir Homutov <vl@nginx.com>
date Mon, 12 May 2014 16:34:15 +0400
parents fcb0420f90de
children 5fb1e57c758a
comparison
equal deleted inserted replaced
5701:1209b8a7b077 5702:777202558122
585 585
586 #define ngx_http_set_connection_log(c, l) \ 586 #define ngx_http_set_connection_log(c, l) \
587 \ 587 \
588 c->log->file = l->file; \ 588 c->log->file = l->file; \
589 c->log->next = l->next; \ 589 c->log->next = l->next; \
590 c->log->writer = l->writer; \
591 c->log->wdata = l->wdata; \
590 if (!(c->log->log_level & NGX_LOG_DEBUG_CONNECTION)) { \ 592 if (!(c->log->log_level & NGX_LOG_DEBUG_CONNECTION)) { \
591 c->log->log_level = l->log_level; \ 593 c->log->log_level = l->log_level; \
592 } 594 }
593 595
594 596