]> git.kaiwu.me - nginx.git/commit
Core: support several "error_log" directives.
authorVladimir Homutov <vl@nginx.com>
Thu, 20 Jun 2013 16:47:39 +0000 (20:47 +0400)
committerVladimir Homutov <vl@nginx.com>
Thu, 20 Jun 2013 16:47:39 +0000 (20:47 +0400)
commit11ff177a9fe3129cd1c8b23e1850bfbc3e2c6ae1
tree2289fc8b7b9f72564a23019ebb3438757ee74c74
parent02cc52554f7ef326bb92df4ecced524e5d01ee19
Core: support several "error_log" directives.

When several "error_log" directives are specified in the same configuration
block, logs are written to all files with a matching log level.

All logs are stored in the singly-linked list that is sorted by log level in
the descending order.

Specific debug levels (NGX_LOG_DEBUG_HTTP,EVENT, etc.) are not supported
if several "error_log" directives are specified.  In this case all logs
will use debug level that has largest absolute value.
src/core/ngx_log.c
src/core/ngx_log.h
src/http/ngx_http_core_module.c
src/http/ngx_http_request.h
src/os/unix/ngx_process_cycle.c