From 54d96241d5c6c59556b81f03e8569575e855e42d Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 19 Oct 2014 03:03:16 +0200 Subject: daq: nginx-lua fetch almost done!? --- src/daq/nginx-lua/s5-nginx.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/daq/nginx-lua/s5-nginx.lua') diff --git a/src/daq/nginx-lua/s5-nginx.lua b/src/daq/nginx-lua/s5-nginx.lua index ac46224..2ae7e69 100644 --- a/src/daq/nginx-lua/s5-nginx.lua +++ b/src/daq/nginx-lua/s5-nginx.lua @@ -92,7 +92,7 @@ function _SFIVE.log() json = json .. '"ua": "' .. ngx.var.http_user_agent .. '",' json = json .. '"uri": "' .. ngx.var.uri .. '",' json = json .. '"status": ' .. status .. ',' - json = json .. '"bytes_sent": ' .. ngx.var.bytes_sent + json = json .. '"bytes-sent": ' .. ngx.var.bytes_sent json = json .. '}' local ok, err, force = sfive_data:add(idx, json, config.log_exptime) -- cgit v1.2.3