summaryrefslogtreecommitdiff
path: root/src/daq/nginx-lua/s5-nginx-log.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/daq/nginx-lua/s5-nginx-log.lua')
-rw-r--r--src/daq/nginx-lua/s5-nginx-log.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daq/nginx-lua/s5-nginx-log.lua b/src/daq/nginx-lua/s5-nginx-log.lua
index daad0f4..43d2394 100644
--- a/src/daq/nginx-lua/s5-nginx-log.lua
+++ b/src/daq/nginx-lua/s5-nginx-log.lua
@@ -88,8 +88,8 @@ if status == '200' or status == '206' then
json = json .. '"bytes_sent": ' .. ngx.var.bytes_sent
json = json .. '}'
- local sfive_log = ngx.shared.sfive_log
- local ok, err, force = sfive_log:add(idx, json, log_exptime)
+ local sfive_data = ngx.shared.sfive_data
+ local ok, err, force = sfive_data:add(idx, json, log_exptime)
if not ok then
ngx.log(ngx.ERR, "SFive(log): adding log line (".. idx .. ") to log store failed: " .. err)
elseif force then