Re: pg_ctl patch to integrate apache's rotatelogs

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Andrew Hammond <ahammond(at)ca(dot)afilias(dot)info>
Cc: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>
Subject: Re: pg_ctl patch to integrate apache's rotatelogs
Date: 2004-05-14 19:48:09
Message-ID: 20040514194809.GA10607@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

On Fri, May 14, 2004 at 15:31:21 -0400,
Andrew Hammond <ahammond(at)ca(dot)afilias(dot)info> wrote:
>
> - - DJB's multilog requires a whole mess of configuration, and is
> difficult to run unless you're root. In which case you'd be far better
> off to use syslog anyway. It is rsync friendly

I use multilog and it works just fine. If you are already using it for other
things it is very easy to use it for postgres too.

You aren't ever supposed to run multilog as root. Normally you just tell
daemontools what user you want to run it as. But you should also be able
to run it without daemontools as a nonprivileged user without doing anything
tricky.

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-05-14 20:00:52 Re: pg_ctl patch to integrate apache's rotatelogs
Previous Message Andrew Hammond 2004-05-14 19:31:21 Re: pg_ctl patch to integrate apache's rotatelogs