From 8832fc3b142c464e6e9818e958c5f6409a999df9 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Tue, 14 Apr 2026 02:43:50 +0300 Subject: [PATCH] Fix print to stdout in client --- src/client/cluster_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/cluster_client.cpp b/src/client/cluster_client.cpp index d3b40e65..20e22b69 100644 --- a/src/client/cluster_client.cpp +++ b/src/client/cluster_client.cpp @@ -590,7 +590,7 @@ void cluster_client_t::on_change_pool_config_hook() { if (log_level > 2 && pg_counts[pool_item.first]) { - printf("Pool %u (%s) PG count changed from %lu to %lu\n", pool_item.first, pool_item.second.name.c_str(), + fprintf(stderr, "Pool %u (%s) PG count changed from %lu to %lu\n", pool_item.first, pool_item.second.name.c_str(), pg_counts[pool_item.first], pool_item.second.real_pg_count); } // At this point, all pool operations should have been suspended