summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2012-10-03 15:25:06 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2012-10-03 15:25:06 +0000
commita707811a31455979744e0c456882dd0fa2e9e139 (patch)
tree1ab916e67ece94d176423361aef62ab5f263fd7d
parentc846871ce106e0fbe4c27a48a4c3378f18cd03f8 (diff)
downloadnginx-a707811a31455979744e0c456882dd0fa2e9e139.tar.gz
nginx-a707811a31455979744e0c456882dd0fa2e9e139.tar.bz2
Log: $apache_bytes_sent removed.
It was renamed to $body_bytes_sent in nginx 0.3.10 and the old name is deprecated since then.
-rw-r--r--src/http/modules/ngx_http_log_module.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/http/modules/ngx_http_log_module.c b/src/http/modules/ngx_http_log_module.c
index 5b9c79986..3dd8080c9 100644
--- a/src/http/modules/ngx_http_log_module.c
+++ b/src/http/modules/ngx_http_log_module.c
@@ -209,8 +209,6 @@ static ngx_http_log_var_t ngx_http_log_vars[] = {
{ ngx_string("bytes_sent"), NGX_OFF_T_LEN, ngx_http_log_bytes_sent },
{ ngx_string("body_bytes_sent"), NGX_OFF_T_LEN,
ngx_http_log_body_bytes_sent },
- { ngx_string("apache_bytes_sent"), NGX_OFF_T_LEN,
- ngx_http_log_body_bytes_sent },
{ ngx_string("request_length"), NGX_SIZE_T_LEN,
ngx_http_log_request_length },
@@ -1143,12 +1141,6 @@ ngx_http_log_compile_format(ngx_conf_t *cf, ngx_array_t *flushes,
goto invalid;
}
- if (ngx_strncmp(var.data, "apache_bytes_sent", 17) == 0) {
- ngx_conf_log_error(NGX_LOG_WARN, cf, 0,
- "use \"$body_bytes_sent\" instead of "
- "\"$apache_bytes_sent\"");
- }
-
for (v = ngx_http_log_vars; v->name.len; v++) {
if (v->name.len == var.len