[pgpool-hackers: 4306] Re: Proposal: Option to disable PCP Process logging

Tatsuo Ishii ishii at sraoss.co.jp
Wed Apr 12 10:10:31 JST 2023


Hi Maximilien,

Thank you for the patch! I will look into this.

> Dear all,
> 
> I created a patch to add a new parameter, log_pcp_processes.
> 
> The default is on and can be set to off. Setting the value off will
> disable the logging of PCP Process forks and exit messages when the
> status code is SUCCESS / 0.
> 
> The main reason for this proposition is our current deployment is
> using frequent commands to monitor the current state of the cluster,
> generating a lot of log entries. The current logging cannot be set
> using the log level, since we would like to keep warnings and errors,
> and those messages are emitted to the greater 'LOG' level.
> 
> Since there is even a FAQ entry and other messages floating around
> with a Google search, this may also be useful to others ^^'
> 
> By default, the logging is not changed, this shouldn't be a disruptive
> change.
> 
> A patch is attached, but is missing Japanese documentation since this
> was out of my skills :).

No problem at all. Japanese docs will be prepared by other developers.

> I would be happy to make any changes
> required, e.g. I'm not sure about the name of the setting.
> 
> It should work on 4.4, 4.3 and master branch and probably others.

I am sure that you already know but our policy is, we do not add new
features to existing stable branches including 4.4 and 4.3. This is
similar policy as PostgreSQL.

> Thanks a lot for your input and have a nice day,

You too!
--
Tatsuo Ishii
SRA OSS LLC
English: http://www.sraoss.co.jp/index_en/
Japanese:http://www.sraoss.co.jp


More information about the pgpool-hackers mailing list