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/ip_score.lua | |
parent | d8e7133b3af3e169e894e436c24286d824b255d0 (diff) | |
download | rspamd-fd4d021a48419db5bfffbef56c75be9f84bab185.tar.gz rspamd-fd4d021a48419db5bfffbef56c75be9f84bab185.zip |
[Minor] Use new logging API everywhere
Diffstat (limited to 'src/plugins/lua/ip_score.lua')
-rw-r--r-- | src/plugins/lua/ip_score.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/lua/ip_score.lua b/src/plugins/lua/ip_score.lua index 205fc9627..b894cfbe0 100644 --- a/src/plugins/lua/ip_score.lua +++ b/src/plugins/lua/ip_score.lua @@ -166,7 +166,7 @@ local ip_score_set = function(task) redis_args -- arguments ) if not ret then - rspamd_logger.err(task, 'error connecting to redis') + rspamd_logger.errx(task, 'error connecting to redis') return end @@ -319,7 +319,7 @@ local ip_score_check = function(task) args -- arguments ) if not ret then - rspamd_logger.err(task, 'error connecting to redis') + rspamd_logger.errx(task, 'error connecting to redis') end end end |