Re: Proposal: change log_pcp_processes default to off

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: pengbo(at)sraoss(dot)co(dot)jp
Cc: pgpool-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Proposal: change log_pcp_processes default to off
Date: 2025-08-15 06:18:01
Message-ID: 20250815.151801.871616162265227794.ishii@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgpool-hackers

> Ishii-san,
>
>> So I propose to change the default of log_pcp_processes to off.
>
> I agree with your proposal.

Thanks. I have pushed the change.
https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=579306dbcafd38d1f399611764b63b3555d132a5

> ---
> Bo Peng <pengbo(at)sraoss(dot)co(dot)jp>
> SRA OSS K.K.
> TEL: 03-5979-2701 FAX: 03-5979-2702
> Mobile: 080-7752-0749
> URL: https://www.sraoss.co.jp/
>
>
> ________________________________________
> 差出人: Tatsuo Ishii <ishii(at)postgresql(dot)org>
> 送信: 2025 年 8 月 15 日 (金曜日) 11:11
> 宛先: pgpool-hackers(at)lists(dot)postgresql(dot)org <pgpool-hackers(at)lists(dot)postgresql(dot)org>
> 件名: Proposal: change log_pcp_processes default to off
>
>
> log_pcp_processes logs something like:
>
> 2025-08-14 16:17:14.899: pcp_main pid 40704: LOG:  forked new pcp worker, pid=41021 socket=7
> 2025-08-14 16:17:14.904: pcp_main pid 40704: LOG:  PCP process with pid: 41021 exit with SUCCESS.
> 2025-08-14 16:17:14.904: pcp_main pid 40704: LOG:  PCP process with pid: 41021 exits with status 0
>
> They are printed every time a pcp command is invoked. If admins use
> pcp command frequently to monitor pgpool status, it's annoying because
> the log file is flooded by these messages. Even if they can be turned
> off by setting log_pcp_processes to off, I think it should be
> defaulted to off because they are kind of debugging message.
>
> So I propose to change the default of log_pcp_processes to off.
>
> Best regards,
> --
> Tatsuo Ishii
> SRA OSS K.K.
> English: http://www.sraoss.co.jp/index_en/
> Japanese:http://www.sraoss.co.jp
>
>
>
>

In response to

Browse pgpool-hackers by date

  From Date Subject
Next Message Nadav Shatz 2025-08-17 13:27:59 Proposal: recent access based routing for primary-replica setups
Previous Message Bo Peng 2025-08-15 02:25:01 Re: Proposal: change log_pcp_processes default to off