# Proxy\_cache\_lock stat under log

**URL:** <https://www.ruby-forum.com/t/proxy-cache-lock-stat-under-log/244701>\
**Category:** NGINX\
**Created:** [May 30, 2016, 7:52am UTC](https://www.ruby-forum.com/t/proxy-cache-lock-stat-under-log/244701 "2016-05-30T07:52:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rafa\_F](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/958977/32.png) [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Post date:** [May 30, 2016, 7:52am UTC](https://www.ruby-forum.com/t/proxy-cache-lock-stat-under-log/244701/1 "2016-05-30T07:52:58Z")

</div>

Hi,

We are using proxy\_cache\_lock feature of nginx and have set  
proxy\_cache\_lock\_age and proxy\_cache\_lock\_timeout attributes.

To monitor and get overall stats we are looking for nginx log generated  
and  
any option to add some proxy cache lock based numbers to log entries.

Some info about request being on hold or time wait under proxy lock  
criteria  
and time spent for the same.  
Any input will be really appreciated.

Regards,  
Yogesh

Posted at Nginx Forum:

> **[proxy\_cache\_lock stat under log](https://forum.nginx.org/read.php?2,267217,267217#msg-267217)**
>
> Hi, We are using proxy\_cache\_lock feature of nginx and have set proxy\_cache\_lock\_age and proxy\_cache\_lock\_timeout attributes. To monitor and get overall stats we are looking for nginx log generated and any option to add some proxy cache lock based...
