From e7fe6003a2cfb05cdb9eb3b89237595184461271 Mon Sep 17 00:00:00 2001 From: Andrew Lewis <nerf@judo.za.org> Date: Thu, 24 Nov 2016 11:27:45 +0200 Subject: [Minor] Fix logline in clickhouse plugin --- src/plugins/lua/clickhouse.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- cgit v1.2.3