[pgpool-general: 3697] Re: Rotating log files

Tatsuo Ishii ishii at postgresql.org
Mon May 11 09:24:06 JST 2015


> What's the best practice for rotating the pgpool log files so that these do not grow too large and logs older than x days are deleted to save disk space?
> 
> Should I use the Linux logrotated command? Or is there something better?

logrotated does not work for pgpool-II since pgpool-II does not closes
old log file and opens new log file which is required by logrotated in
my uderstanding. My preference is piping the output of pgpool-II to
rotatelogs which comes with Apache.

Best regards,
--
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-general mailing list