# $upstream\_cache\_status question & nginx/0.8.47

**URL:** <https://www.ruby-forum.com/t/upstream-cache-status-question-nginx-0-8-47/192606>\
**Category:** NGINX\
**Created:** [August 3, 2010, 12:25am UTC](https://www.ruby-forum.com/t/upstream-cache-status-question-nginx-0-8-47/192606 "2010-08-03T00:25:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![evuraan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/53a042/32.png) [@evuraan](https://www.ruby-forum.com/u/evuraan)\
**Post date:** [August 3, 2010, 12:25am UTC](https://www.ruby-forum.com/t/upstream-cache-status-question-nginx-0-8-47/192606/1 "2010-08-03T00:25:26Z")

</div>

Per  
[Module ngx\_http\_upstream\_module](http://wiki.nginx.org/NginxHttpUpstreamModule#.24upstream_cache_status),  
$upstream\_cache\_status appeared in 0.8.3.

I run 0.8.47, and have in my conf:

```
log_format cache '***$time_local '
                 'Server : $upstream_addr '
                 [b]'Status: $upstream_cache_status '[/b]
                 'Cache-Control: $upstream_http_cache_control '
                 'Expires: $upstream_http_expires '
                 '"$request" ($status) '
                 '"$http_user_agent" ';
access_log /var/log/nginx/cache.log cache;

```

yet my log file does not show anything for $upstream\_cache\_status :

/snip  
\*\*\*02/Aug/2010:15:09:56 -0700 Server : XX.XX.XX.XX  
[color=#00FF00]Status: -[/color]Cache-Control:…  
/snip

Why is that 0.8.47 does not populate $upstream\_cache\_status ? Do i need  
to downgrade the binary?

Please advise, many thanks in advance.!

Posted at Nginx Forum:

> **[$upstream\_cache\_status question & nginx/0.8.47](https://forum.nginx.org/read.php?2,115904,115904#msg-115904)**
>
> Per http://wiki.nginx.org/NginxHttpUpstreamModule#.24upstream\_cache\_status, $upstream\_cache\_status appeared in 0.8.3. I run 0.8.47, and have in my conf: \<snip\> log\_format cache '\*\*\*$time\_local ' 'Server : $upstream\_addr '

---

<div class="post-metadata">

**Author:** ![evuraan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/53a042/32.png) [@evuraan](https://www.ruby-forum.com/u/evuraan)\
**Post date:** [August 3, 2010, 1:24am UTC](https://www.ruby-forum.com/t/upstream-cache-status-question-nginx-0-8-47/192606/2 "2010-08-03T01:24:33Z")

</div>

never mind. i figured this out. thx,

Posted at Nginx Forum:

> **[Re: $upstream\_cache\_status question & nginx/0.8.47](https://forum.nginx.org/read.php?2,115904,115910#msg-115910)**
>
> Per http://wiki.nginx.org/NginxHttpUpstreamModule#.24upstream\_cache\_status, $upstream\_cache\_status appeared in 0.8.3. I run 0.8.47, and have in my conf: \<snip\> log\_format cache '\*\*\*$time\_local ' 'Server : $upstream\_addr '
