From 437c520efbb358caa770100d1918b2a354985db3 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 15 Jul 2019 15:43:15 +0100 Subject: [PATCH] [Minor] Do not log arguments as it breaks tests --- lualib/lua_redis.lua | 8 ++++---- 1 file 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') -- 2.39.5