Re: truncate/rotate pgbouncer log using .ini settings

From: Sergey Konoplev <gray(dot)ru(at)gmail(dot)com>
To: Venkat Kaushik <venkat(dot)pguser(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: truncate/rotate pgbouncer log using .ini settings
Date: 2013-09-27 23:34:14
Message-ID: CAL_0b1veVQBOpYC04fATK8UBM55V6q+8KzUvu-Gs97GqOwO8vw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Sep 26, 2013 at 2:25 PM, Venkat Kaushik <venkat(dot)pguser(at)gmail(dot)com> 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.

--
Kind regards,
Sergey Konoplev
PostgreSQL Consultant and DBA

http://www.linkedin.com/in/grayhemp
+1 (415) 867-9984, +7 (901) 903-0499, +7 (988) 888-1979
gray(dot)ru(at)gmail(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Eugene Ostrovsky 2013-09-28 18:12:48 multiple databases vs multiple clusters on the same host
Previous Message Monosij 2013-09-27 21:27:39 Re: Creating Primary Key after CREATE TABLE: Is Sequence created?