$upstream_cache_status question & nginx/0.8.47

evuraan nginx-forum at nginx.us
Tue Aug 3 02:24:56 MSD 2010


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:


    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: http://forum.nginx.org/read.php?2,115904,115904#msg-115904




More information about the nginx mailing list