Re: [GENERAL] truncate/rotate pgbouncer log using .ini settings

2013-09-27 Thread Sergey Konoplev
On Thu, Sep 26, 2013 at 2:25 PM, Venkat Kaushik wrote: > a) Is there a way (from pgbouncer.ini) to curtail/truncate/rotate logs? http://pgbouncer.projects.pgfoundry.org/doc/config.html#_log_settings You can configure it to log to syslog and then configure your logging daemon to rotate it. -- K

[GENERAL] truncate/rotate pgbouncer log using .ini settings

2013-09-26 Thread Venkat Kaushik
I have setup pgbouncer successfully on CentOS6, PG9.2 pgbouncer.x86_64 1.5.4-1.rhel6 @pgdg92 I have a question regarding logging: Currently I have 17MB of log and its growing. 17M -rw-rw-r--. 1 pgbouncer pgbouncer 17M Sep 26 12:17 /var/log/pgbouncer/pgbouncer.log a) Is there a way (from