Logging non-cached requests

Mirosław Jaworski mjaw at ikp.pl
Wed Nov 25 23:53:55 MSK 2009

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?

More information about the nginx mailing list