Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vy08P-00HKuZ-1Y for pgpool-hackers@arkaria.postgresql.org; Thu, 05 Mar 2026 04:16:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vy08N-00Fpn2-2w for pgpool-hackers@arkaria.postgresql.org; Thu, 05 Mar 2026 04:16:24 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vy08N-00Fpmv-2R for pgpool-hackers@lists.postgresql.org; Thu, 05 Mar 2026 04:16:24 +0000 Received: from meldrar.postgresql.org ([2a02:c0:301:0:ffff::31]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vy08L-00000000TmH-1fuw for pgpool-hackers@lists.postgresql.org; Thu, 05 Mar 2026 04:16:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=postgresql.org; s=20171124; h=Content-Transfer-Encoding:Content-Type: Mime-Version:References:In-Reply-To:From:Subject:Cc:To:Message-Id:Date:Sender :Reply-To:Content-ID:Content-Description; bh=nvPmLQh6uyRuFCs/Z6yo7w8ynp5WFw8bchbtvt9RYBI=; b=3cUdDoaRptqXT0R+S5NyMcPj2x UgQMC8DTqykhJAIy8WI/YGlzI8NvGOJcpYZ6v0wXgkWMTlRAQ/DdybvrO4/amtIQNDUqAFQ1SfLq2 KTneyD9zLvKlJ1nfKowwgh+DeBqPDmGOBehUvVACPGWIrYlooNvE8LNN1eIfztfV9556Du+mADFyj gJ9fhwkgmfoLl4H1ad20CxovDbq2uLHmsVBaHmz5yV1fXYU7G+oronaka7l7ZEEsjSZ4LAR/frR+W 3HijVO5lnEgCooBQr7YYpVS7dCj1MU8jPVW1F9s15F43iQuJkZZnoLg1qoRGxwmAcj/mVu5GNIvIn ifjc0QRg==; Received: from [2409:11:4120:300:8b7e:8247:d649:350] (helo=localhost) by meldrar.postgresql.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vy08H-0086Bo-2x; Thu, 05 Mar 2026 04:16:20 +0000 Date: Thu, 05 Mar 2026 13:16:02 +0900 (JST) Message-Id: <20260305.131602.968371260826527447.ishii@postgresql.org> To: yishaitamir@live.com Cc: pgpool-hackers@lists.postgresql.org Subject: Re: [PATCH] Downgrade elog(LOG) to elog(DEBUG1) for pi->node_ids in get_pools() From: Tatsuo Ishii In-Reply-To: References: X-Mailer: Mew version 6.8 on Emacs 29.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2409:11:4120:300:8b7e:8247:d649:350 (failed) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > Hi, > > The attached patch downgrades an elog(LOG) to elog(DEBUG1) in get_pools() > (src/utils/pool_process_reporting.c). > > The elog statement was added in commit 706ca859c as part of the > pgpool_adm_pcp_proc_info feature. It prints pi->node_ids bitmap values > at LOG level for every connection on every backend whenever pool status > is queried. > > In containerized deployments where a metrics exporter (pgpool2_exporter) > continuously polls "show pool_pools", this produces thousands of log > lines per minute. We confirmed the fix eliminates the spam on our > staging cluster under real production-like traffic. > > Since the message is purely diagnostic, DEBUG1 is the appropriate level. > > GitHub issue: https://github.com/pgpool/pgpool2/issues/153 Thanks for the patch. I have already pushed a very similar patch created by me. https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=f647c4a372ea2c2cfae80e4e60f209e236fe41ec Best regards, -- Tatsuo Ishii SRA OSS K.K. English: http://www.sraoss.co.jp/index_en/ Japanese:http://www.sraoss.co.jp