summaryrefslogtreecommitdiffstats
path: root/lualib/lua_redis.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-15 15:43:15 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-15 15:43:15 +0100
commit437c520efbb358caa770100d1918b2a354985db3 (patch)
tree1791f7bca472867e924e0c76d0da7cf0ed2dae52 /lualib/lua_redis.lua
parentb8a7db17236cf6fc3757e593c5ba2b3429ed1dc6 (diff)
downloadrspamd-437c520efbb358caa770100d1918b2a354985db3.tar.gz
rspamd-437c520efbb358caa770100d1918b2a354985db3.zip
[Minor] Do not log arguments as it breaks tests
Diffstat (limited to 'lualib/lua_redis.lua')
-rw-r--r--lualib/lua_redis.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/lualib/lua_redis.lua b/lualib/lua_redis.lua
index 656bd6baa..efecb6a0e 100644
--- a/lualib/lua_redis.lua
+++ b/lualib/lua_redis.lua
@@ -924,8 +924,8 @@ local function rspamd_redis_make_request(task, redis_params, key, is_write,
end
lutil.debugm(N, task, 'perform request to redis server' ..
- ' (host=%s, timeout=%s): cmd: %s, arguments: %s', ip_addr,
- options.timeout, options.cmd, args)
+ ' (host=%s, timeout=%s): cmd: %s', ip_addr,
+ options.timeout, options.cmd)
local ret,conn = rspamd_redis.make_request(options)
@@ -1013,8 +1013,8 @@ local function redis_make_request_taskless(ev_base, cfg, redis_params, key,
end
lutil.debugm(N, cfg, 'perform taskless request to redis server' ..
- ' (host=%s, timeout=%s): cmd: %s, arguments: %s', options.host,
- options.timeout, options.cmd, args)
+ ' (host=%s, timeout=%s): cmd: %s', options.host,
+ options.timeout, options.cmd)
local ret,conn = rspamd_redis.make_request(options)
if not ret then
logger.errx('cannot execute redis request')