Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Homutov <vl@nginx.com>2013-06-04 11:27:36 +0400
committerVladimir Homutov <vl@nginx.com>2013-06-04 11:27:36 +0400
commit26489b16e5abc76eb1b72e37651d01a1e1a657cb (patch)
tree4504ca380ab2f637e3ea8d77c7ebb1041de3cbf2 /src/core/ngx_cycle.h
parent9db2eddd8ad9da27a68e4551fbb78ccd79470b6c (diff)
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.
Diffstat (limited to 'src/core/ngx_cycle.h')
-rw-r--r--src/core/ngx_cycle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ngx_cycle.h b/src/core/ngx_cycle.h
index 2e4bc4ba2..21bf5ca3f 100644
--- a/src/core/ngx_cycle.h
+++ b/src/core/ngx_cycle.h
@@ -41,6 +41,8 @@ struct ngx_cycle_s {
ngx_log_t *log;
ngx_log_t new_log;
+ ngx_uint_t log_use_stderr; /* unsigned log_use_stderr:1; */
+
ngx_connection_t **files;
ngx_connection_t *free_connections;
ngx_uint_t free_connection_n;