comparison src/core/ngx_cycle.h @ 5240:d8af1005e886

Core: fixed handling of "stderr" in error_log. If "stderr" was specified in one of the "error_log" directives, stderr is not redirected to the first error_log on startup, configuration reload, and reopening log files.
author Vladimir Homutov <vl@nginx.com>
date Tue, 04 Jun 2013 11:27:36 +0400
parents 5482671df278
children 457ec43dd8d5
comparison
equal deleted inserted replaced
5239:85e72ea8fbfd 5240:d8af1005e886
38 void ****conf_ctx; 38 void ****conf_ctx;
39 ngx_pool_t *pool; 39 ngx_pool_t *pool;
40 40
41 ngx_log_t *log; 41 ngx_log_t *log;
42 ngx_log_t new_log; 42 ngx_log_t new_log;
43
44 ngx_uint_t log_use_stderr; /* unsigned log_use_stderr:1; */
43 45
44 ngx_connection_t **files; 46 ngx_connection_t **files;
45 ngx_connection_t *free_connections; 47 ngx_connection_t *free_connections;
46 ngx_uint_t free_connection_n; 48 ngx_uint_t free_connection_n;
47 49