commit 437c520: [Minor] Do not log arguments as it breaks tests
Vsevolod Stakhov
vsevolod at highsecure.ru
Mon Jul 15 15:49:06 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-07-15 15:43:15 +0100
URL: https://github.com/rspamd/rspamd/commit/437c520efbb358caa770100d1918b2a354985db3
[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')
More information about the Commits
mailing list