Is it possible to log requests only if they have not been served by
proxy_cache?
I only want to see all the requests that actually go to my (slow)
upstream, not served statically
Posted at Nginx Forum:
Is it possible to log requests only if they have not been served by
proxy_cache?
I only want to see all the requests that actually go to my (slow)
upstream, not served statically
Posted at Nginx Forum:
this is how it works now, but not very convenient, when you try to
analyze current traffic
upstream is a rails process which i want to log errors only and keep all
access logs in nginx
Posted at Nginx Forum:
Thanks for advise, would need to upgrade to 0.8 first )
just checking, is it possible to use this variable in “if” construction
and log only misses?
otherwise, even though i can filter them out when viewing logs, i will
still get all the static requests logged
Posted at Nginx Forum:
On Wed, 2009-11-25 at 15:39 -0500, Nime wrote:
Is it possible to log requests only if they have not been served by proxy_cache?
I only want to see all the requests that actually go to my (slow) upstream, not served statically
Aren’t logs on the upstream itself suitable enough?
–
Miroslaw “Psyborg” Jaworski
GCS/IT d- s+:+ a C++$ UBI++++$ P+++$ L- E— W++(+++)$ N++ o+ K- w-- O-
M- V- PS+ PE++ Y+ PGP t 5? X+ R++ !tv b++(+++) DI++ D+ G e* h++ r+++ y?
On Wed, Nov 25, 2009 at 03:39:01PM -0500, Nime wrote:
Is it possible to log requests only if they have not been served by proxy_cache?
I only want to see all the requests that actually go to my (slow) upstream, not served statically
You may log $upstream_cache_status to distinguish them.
–
Igor S.
http://sysoev.ru/en/
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs