comparison src/core/ngx_log.h @ 644:ad25218fd14b NGINX_1_0_12

nginx 1.0.12 *) Feature: the "TLSv1.1" and "TLSv1.2" parameters of the "ssl_protocols" directive. *) Feature: the "if" SSI command supports captures in regular expressions. *) Bugfix: the "if" SSI command did not work inside the "block" command. *) Bugfix: in AIO error handling on FreeBSD. *) Bugfix: in the OpenSSL library initialization. *) Bugfix: the "worker_cpu_affinity" directive might not work. *) Bugfix: the "limit_conn_log_level" and "limit_req_log_level" directives might not work. *) Bugfix: the "read_ahead" directive might not work combined with "try_files" and "open_file_cache". *) Bugfix: the "proxy_cache_use_stale" directive with "error" parameter did not return answer from cache if there were no live upstreams. *) Bugfix: a segmentation fault might occur in a worker process if small time was used in the "inactive" parameter of the "proxy_cache_path" directive. *) Bugfix: responses from cache might hang. *) Bugfix: in error handling while connecting to a backend. Thanks to Piotr Sikora. *) Bugfix: in the "epoll" event method. Thanks to Yichun Zhang. *) Bugfix: the $sent_http_cache_control variable might contain a wrong value if the "expires" directive was used. Thanks to Yichun Zhang. *) Bugfix: the "limit_rate" directive did not allow to use full throughput, even if limit value was very high. *) Bugfix: the "sendfile_max_chunk" directive did not work, if the "limit_rate" directive was used. *) Bugfix: nginx could not be built on Solaris; the bug had appeared in 1.0.11. *) Bugfix: in the ngx_http_scgi_module. *) Bugfix: in the ngx_http_mp4_module.
author Igor Sysoev <http://sysoev.ru>
date Mon, 06 Feb 2012 00:00:00 +0400
parents 1b80544421e8
children
comparison
equal deleted inserted replaced
643:d81e1c257a02 644:ad25218fd14b
1 1
2 /* 2 /*
3 * Copyright (C) Igor Sysoev 3 * Copyright (C) Igor Sysoev
4 * Copyright (C) Nginx, Inc.
4 */ 5 */
5 6
6 7
7 #ifndef _NGX_LOG_H_INCLUDED_ 8 #ifndef _NGX_LOG_H_INCLUDED_
8 #define _NGX_LOG_H_INCLUDED_ 9 #define _NGX_LOG_H_INCLUDED_
119 120
120 #if (NGX_DEBUG) 121 #if (NGX_DEBUG)
121 122
122 #if (NGX_HAVE_VARIADIC_MACROS) 123 #if (NGX_HAVE_VARIADIC_MACROS)
123 124
124 #define ngx_log_debug0 ngx_log_debug 125 #define ngx_log_debug0(level, log, err, fmt) \
125 #define ngx_log_debug1 ngx_log_debug 126 ngx_log_debug(level, log, err, fmt)
126 #define ngx_log_debug2 ngx_log_debug 127
127 #define ngx_log_debug3 ngx_log_debug 128 #define ngx_log_debug1(level, log, err, fmt, arg1) \
128 #define ngx_log_debug4 ngx_log_debug 129 ngx_log_debug(level, log, err, fmt, arg1)
129 #define ngx_log_debug5 ngx_log_debug 130
130 #define ngx_log_debug6 ngx_log_debug 131 #define ngx_log_debug2(level, log, err, fmt, arg1, arg2) \
131 #define ngx_log_debug7 ngx_log_debug 132 ngx_log_debug(level, log, err, fmt, arg1, arg2)
132 #define ngx_log_debug8 ngx_log_debug 133
134 #define ngx_log_debug3(level, log, err, fmt, arg1, arg2, arg3) \
135 ngx_log_debug(level, log, err, fmt, arg1, arg2, arg3)
136
137 #define ngx_log_debug4(level, log, err, fmt, arg1, arg2, arg3, arg4) \
138 ngx_log_debug(level, log, err, fmt, arg1, arg2, arg3, arg4)
139
140 #define ngx_log_debug5(level, log, err, fmt, arg1, arg2, arg3, arg4, arg5) \
141 ngx_log_debug(level, log, err, fmt, arg1, arg2, arg3, arg4, arg5)
142
143 #define ngx_log_debug6(level, log, err, fmt, \
144 arg1, arg2, arg3, arg4, arg5, arg6) \
145 ngx_log_debug(level, log, err, fmt, \
146 arg1, arg2, arg3, arg4, arg5, arg6)
147
148 #define ngx_log_debug7(level, log, err, fmt, \
149 arg1, arg2, arg3, arg4, arg5, arg6, arg7) \
150 ngx_log_debug(level, log, err, fmt, \
151 arg1, arg2, arg3, arg4, arg5, arg6, arg7)
152
153 #define ngx_log_debug8(level, log, err, fmt, \
154 arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) \
155 ngx_log_debug(level, log, err, fmt, \
156 arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8)
133 157
134 158
135 #else /* NO VARIADIC MACROS */ 159 #else /* NO VARIADIC MACROS */
136 160
137 #define ngx_log_debug0(level, log, err, fmt) \ 161 #define ngx_log_debug0(level, log, err, fmt) \