Welcome! Log In Create A New Profile

Advanced

Re: Possible to create seperate logging for objects fetched to upstream in reverse proxy mode?

March 28, 2010 05:48AM
On Mar 22, David Taveras wrote:
>Iam running a reverse proxy.. works great. I was diferrentiating
>objects that served locally because they have a 0.00 processing time..
>versus the objects that are fetched from the upstream... however i now
>see that this isnt at all true!
>
>Sometimes in my SSL server i fetch files from cache that actually take
>1.10 .. (maybe due to the ssl handshake) .. so I dont really have a
>way of knowing which files are actually fetched from the upstream.
>
>Is it possible to set a log for requests made to the upstream only?

Have you tried logging this variable?
http://wiki.nginx.org/NginxHttpUpstreamModule#.24upstream_addr

For requests that were not sent to an upstream, a dash i.e. "-" gets
logged.


$upstream_cache_status might also be of interest if you are using nginx
caching

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

Possible to create seperate logging for objects fetched to upstream in reverse proxy mode?

David Taveras March 22, 2010 04:38PM

Re: Possible to create seperate logging for objects fetched to upstream in reverse proxy mode?

anomalizer March 28, 2010 05:48AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 193
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