diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-11-24 11:27:45 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-11-24 11:27:45 +0200 |
commit | e7fe6003a2cfb05cdb9eb3b89237595184461271 (patch) | |
tree | 63b7b2497bb39445bc6238e4fe177811f4323481 | |
parent | 90237d0d4b0196171226801438b70f8fd3f69686 (diff) | |
download | rspamd-e7fe6003a2cfb05cdb9eb3b89237595184461271.tar.gz rspamd-e7fe6003a2cfb05cdb9eb3b89237595184461271.zip |
[Minor] Fix logline in clickhouse plugin
-rw-r--r-- | src/plugins/lua/clickhouse.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/clickhouse.lua b/src/plugins/lua/clickhouse.lua index 0d6420195..aa39b47da 100644 --- a/src/plugins/lua/clickhouse.lua +++ b/src/plugins/lua/clickhouse.lua @@ -177,7 +177,7 @@ end local function clickhouse_send_data(task) local function http_cb(err_message, code, _, _) if code ~= 200 or err_message then - rspamd_logger.errx(task, "cannot send data to clickhouse server %s: %d:%s", + rspamd_logger.errx(task, "cannot send data to clickhouse server %s: %s:%s", settings['server'], code, err_message) else rspamd_logger.infox(task, "sent %s rows to clickhouse server %s", |