Welcome! Log In Create A New Profile

Advanced

How to log only if $upstream_cache_status is not equal to "HIT"

Joseph Cabezas
April 22, 2012 05:50PM
Hello,

Iam trying to find out if there is a way I can have an access logs only for the objects that did not produce a HIT from the cache (recorded in the nginx $upstream_cache_status var)

Is this possible?

Thanks and regards,
Joseph
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to log only if $upstream_cache_status is not equal to "HIT"

Joseph Cabezas April 22, 2012 05:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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