[pgpool-hackers: 4094] Re: Proposal: enable parameters related to logging_collector of RPM packages by default
Tatsuo Ishii
ishii at sraoss.co.jp
Thu Jan 13 15:47:46 JST 2022
>> How does pgpool currently set logging for RPM? syslog?
>
> Currently Pgpool-II RPMs use the default setting:
>
> #log_destination = 'stderr'
> #logging_collector = off
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?
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