[pgpool-general: 5926] pgpool.log rotation
Mariel Cherkassky
mariel.cherkassky at gmail.com
Mon Feb 19 19:43:04 JST 2018
Hi,
I have installed pgpool 2 version 3.7.0 . I'm trying to configure log
rotation on the pgpool.log but It seems that something wrong. I configured
in logrotate conf file the parameters :
/PostgreSQL/pgpool/log/pgpool.log {
daily
dateext
missingok
compress
notifempty
maxage 7
maxsize 21118320640
rotate 7
create 644 postgres postgres
postrotate
su - postgres -c "~/pgpool/bin/pgpool reload"
endscript
}
After the first rotation, an archive is generated but the pool stops
writing to the original log. Any idea what can be the reason ?
If this isnt the way can you recommend how to do rotation on pgpool`s log ?
Thanks , Mariel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pgpool.net/pipermail/pgpool-general/attachments/20180219/c4f121ad/attachment.htm>
More information about the pgpool-general
mailing list