Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r4886 - trunk/src/http/modules

Anonymous User
October 03, 2012 11:26AM
Author: mdounin
Date: 2012-10-03 15:25:06 +0000 (Wed, 03 Oct 2012)
New Revision: 4886
URL: http://trac.nginx.org/nginx/changeset/4886/nginx

Log:
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.


Modified:
trunk/src/http/modules/ngx_http_log_module.c

Modified: trunk/src/http/modules/ngx_http_log_module.c
===================================================================
--- trunk/src/http/modules/ngx_http_log_module.c 2012-10-03 15:24:08 UTC (rev 4885)
+++ trunk/src/http/modules/ngx_http_log_module.c 2012-10-03 15:25:06 UTC (rev 4886)
@@ -209,8 +209,6 @@
{ 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 @@
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

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] svn commit: r4886 - trunk/src/http/modules

Anonymous User 916 October 03, 2012 11:26AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 241
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready