[pgpool-hackers: 4096] Re: Proposal: enable parameters related to logging_collector of RPM packages by default

Tatsuo Ishii ishii at sraoss.co.jp
Thu Jan 13 15:55:29 JST 2022


>> But RPM users need to do more. From the Pgpool-II doc, it seems
>> following settings are needed to make it workable.
>> 
>> log_destination = 'stderr'
>> logging_collector = on
>> log_directory = '/var/log/pgpool_log'
>> log_filename = 'pgpool-%Y-%m-%d_%H%M%S.log'
>> log_truncate_on_rotation = on
>> log_rotation_age = 1d
>> log_rotation_size = 10MB
>> 
>> If so why do you enable only logging_collector?
>> Don't you need to set other log_* parameter as well?
> 
> Yes.
> We also need to set other parameters below:
> 
>   log_destination = 'stderr'
>   logging_collector = on
>   log_directory = '/var/log/pgpool_log'
>   log_filename = 'postgresql-%a.log'
>   log_rotation_age = 1d
>   log_rotation_size = 0
>   log_truncate_on_rotation = on

So are you going to set these parameters in the RPM package?  If so, I
think you also need to create /var/log/pgpool_log directory in the RPM
script. What do you think?

Best reagards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp


More information about the pgpool-hackers mailing list