Skip to content

Commit

Permalink
separating the status_code of the cache
Browse files Browse the repository at this point in the history
  • Loading branch information
ciceroverneck committed Apr 10, 2014
1 parent 31355d7 commit dafbdb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion log.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ if common.in_table(ngx.var.upstream_cache_status, cache_status) then
common.incr_or_create(stats, common.key({group, 'cache', status}), 1)
end

common.incr_or_create(stats, common.key({group, 'cache', common.get_status_code_class(status)}), 1)
common.incr_or_create(stats, common.key({group, 'status', common.get_status_code_class(status)}), 1)

0 comments on commit dafbdb4

Please sign in to comment.