$request_length outside of log module

Jonathan Matthews contact at jpluscplusm.com
Mon Jan 28 14:05:01 UTC 2013


On 28 January 2013 13:56, Richard Kearsley <rkearsley at blueyonder.co.uk> wrote:
> Hi
> Over time you have been adding functionality to use log variables outside of
> log module, e.g.
>
> Changes with nginx 1.3.8 30 Oct 2012
> *) Feature: the $bytes_sent, $connection, and $connection_requests variables
> can now be used not only in the "log_format" directive.
>
> Changes with nginx 1.3.9 27 Nov 2012
> *) Feature: the $request_time and $msec variables can now be used not only
> in the "log_format" directive.
>
> Are you going to add the $request_length variable to this list too?

I would think you could get something equivalent and useful out of
$upstream_http_content_length, as per
http://wiki.nginx.org/HttpUpstreamModule#.24upstream_http_.24HEADER .
YMMV.

-- 
Jonathan Matthews // Oxford, London, UK
http://www.jpluscplusm.com/contact.html



More information about the nginx mailing list