[pgpool-general: 638] Re: rotate pgpool logs

Erwan ebs at antelink.com
Thu Jun 14 19:08:20 JST 2012


Hi Lazáro,

Even if there is no process to rotate logs in pgpool-II, you can still 
use logrotate with a config like this:

/<path>/pgpool-II.log {
         weekly
         missingok
         rotate 6
         compress
         delaycompress
         notifempty
}

Works for me :)
Hope this will help !
/Erwan


On 06/14/2012 01:21 AM, Lazáro Rubén García Martínez wrote:
> Ok
> ________________________________________
> From: Tatsuo Ishii [ishii at postgresql.org]
> Sent: Wednesday, June 13, 2012 6:08 PM
> To: Lazáro Rubén García Martínez
> Cc: pgpool-general at pgpool.net
> Subject: Re: [pgpool-general: 634] rotate pgpool logs
>
>> Hello every one in the list.
>> Tatsuo, is there any plan for implementing a solution in pgpool core that rotates the logs, similar of the form that Postgresql works with logs files, without using an external solution like cronolog or rotatelogs?
> That would be nice but currently I have no time working for it.
> --
> Tatsuo Ishii
> SRA OSS, Inc. Japan
> English: http://www.sraoss.co.jp/index_en.php
> Japanese: http://www.sraoss.co.jp
>
> Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
> http://www.antiterroristas.cu
> http://justiciaparaloscinco.wordpress.com
>
> Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
> http://www.antiterroristas.cu
> http://justiciaparaloscinco.wordpress.com
> _______________________________________________
> pgpool-general mailing list
> pgpool-general at pgpool.net
> http://www.pgpool.net/mailman/listinfo/pgpool-general


More information about the pgpool-general mailing list