diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-11-17 12:46:02 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-11-17 12:46:02 +0200 |
commit | fd4d021a48419db5bfffbef56c75be9f84bab185 (patch) | |
tree | f08ef6c45f6d3f475c870da5c1b0a45e28df46c4 /src/plugins/lua/ratelimit.lua | |
parent | d8e7133b3af3e169e894e436c24286d824b255d0 (diff) | |
download | rspamd-fd4d021a48419db5bfffbef56c75be9f84bab185.tar.gz rspamd-fd4d021a48419db5bfffbef56c75be9f84bab185.zip |
[Minor] Use new logging API everywhere
Diffstat (limited to 'src/plugins/lua/ratelimit.lua')
-rw-r--r-- | src/plugins/lua/ratelimit.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/lua/ratelimit.lua b/src/plugins/lua/ratelimit.lua index 1a7bdf222..a05ebc2e9 100644 --- a/src/plugins/lua/ratelimit.lua +++ b/src/plugins/lua/ratelimit.lua @@ -304,7 +304,7 @@ local function check_limits(task, args) fun.totable(fun.map(function(l) return l[2] end, args)) -- arguments ) if not ret then - rspamd_logger.err(task, 'got error connecting to redis') + rspamd_logger.errx(task, 'got error connecting to redis') end end @@ -370,7 +370,7 @@ local function set_limits(task, args) conn:add_cmd('setex', v) end, fun.drop_n(1, values)) else - rspamd_logger.err(task, 'got error while connecting to redis') + rspamd_logger.errx(task, 'got error while connecting to redis') end end end @@ -385,7 +385,7 @@ local function set_limits(task, args) fun.totable(fun.map(function(l) return l[2] end, args)) -- arguments ) if not ret then - rspamd_logger.err(task, 'got error connecting to redis') + rspamd_logger.errx(task, 'got error connecting to redis') end end |