[pgpool-general: 4129] Re: pgpool log file

Pablo Sanchez pablo at blueoakdb.com
Wed Oct 21 00:31:05 JST 2015


[ Comments below, in-line ]


On 10/20/15 11:24, Wolf Schwurack wrote:
> Not sure what you mean by pipe the output of PGPool to rotatelogs
>

 From our startup/shutdown script, here's an example:

$SU -l $PGPOOLUSER -c "$PGPOOLDAEMON $PGPOOLHBA -f $PGPOOLCONF $OPTS 
2>&1 | /usr/sbin/rotatelogs -c -l -f ${PGPOOLLOG}.%a 86400 &"



--
Pablo Sanchez - Blueoak Database Engineering, Inc
Ph:    819.459.1926         Blog:  http://pablo-blog.blueoakdb.com
iNum:  883.5100.0990.1054



More information about the pgpool-general mailing list