truncate/rotate pgbouncer log using .ini settings

From: Venkat Kaushik <venkat(dot)pguser(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: truncate/rotate pgbouncer log using .ini settings
Date: 2013-09-26 21:25:31
Message-ID: CAOsOLmZgwNQEZvCxS471riMBzREEfA+zdv-HRL367oMmcEtXzw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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 pgbouncer.ini) to curtail/truncate/rotate logs?
b) If answer to (a) is NO, then I will come up with alternate solution,
but wanted to ask.

Thanks,
Venkat

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2013-09-26 21:30:18 Re: Trouble installing psycopg2
Previous Message Augori 2013-09-26 21:14:07 Re: Trouble installing psycopg2