Welcome! Log In Create A New Profile

Advanced

Re: $request_length outside of log module

January 28, 2013 09:40AM
yeah, it's different (correct) definition here:
http://nginx.org/en/docs/http/ngx_http_log_module.html#log_format
should probably update wiki to reflect it

I think $http_content_length will give the length of the response also
(not the request)

As Maxim says, they added it to the trunk a few days ago and I don't
mind waiting for next release :)

Thanks all

On 28/01/13 14:24, Jonathan Matthews wrote:
> My bad - I misread your original email. $request_length is actually
> defined here (http://wiki.nginx.org/HttpLogModule#log_format) as the
> request /body/'s length, i.e. not counting headers. You might get
> something useful out of $http_content_length instead. Jonathan

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

$request_length outside of log module

dbradfield January 28, 2013 09:00AM

Re: $request_length outside of log module

Jonathan Matthews January 28, 2013 09:06AM

Re: $request_length outside of log module

dbradfield January 28, 2013 09:18AM

Re: $request_length outside of log module

Jonathan Matthews January 28, 2013 09:26AM

Re: $request_length outside of log module

dbradfield January 28, 2013 09:40AM

Re: $request_length outside of log module

Jonathan Matthews January 28, 2013 09:48AM

Re: $request_length outside of log module

Maxim Dounin January 28, 2013 09:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 152
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready