aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-11-05 19:28:15 +0000
committerGitHub <noreply@github.com>2019-11-05 19:28:15 +0000
commitbd2ed02166626c1deccb8a0c23219a5da2546d03 (patch)
tree9abf4f2a09e6f86d745cf026f0c7d0916892ea56
parent1e7b5d6fed44f53ea87090b5480112230ec8e044 (diff)
parentc8f2c2ba8db17da17c43f2932af4aebc6dd1ee12 (diff)
downloadrspamd-bd2ed02166626c1deccb8a0c23219a5da2546d03.tar.gz
rspamd-bd2ed02166626c1deccb8a0c23219a5da2546d03.zip
Merge pull request #3139 from citrin/ch-log-fix
[Minor] Clickhouse: fix log
-rw-r--r--src/plugins/lua/clickhouse.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/clickhouse.lua b/src/plugins/lua/clickhouse.lua
index c4e30f1db..966543e3e 100644
--- a/src/plugins/lua/clickhouse.lua
+++ b/src/plugins/lua/clickhouse.lua
@@ -381,7 +381,7 @@ local function clickhouse_send_data(task, ev_base, why, gen_rows, cust_rows)
local upstream = settings.upstream:get_upstream_round_robin()
local ip_addr = upstream:get_addr():to_string(true)
rspamd_logger.infox(log_object, "trying to send %s rows to clickhouse server %s; started as %s",
- nrows, ip_addr, why)
+ #gen_rows + #cust_rows, ip_addr, why)
local function gen_success_cb(what, how_many)
return function (_, _)