Re: pg_ctl patch to integrate apache's rotatelogs

From: Andrew Hammond <ahammond(at)ca(dot)afilias(dot)info>
To: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Cc: Bruno Wolff III <bruno(at)wolff(dot)to>
Subject: Re: pg_ctl patch to integrate apache's rotatelogs
Date: 2004-05-14 20:02:43
Message-ID: 40A525E3.3020704@ca.afilias.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bruno Wolff III wrote:
| 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.

Yes, if you're running daemontools, then multilog is hands down the way
to go. Is it daemontools that really wants to be root? That might be
what I'm confusing it with. Anyway, my goal was to provide a solution
that fits nicely with pg_ctl's -l option, multilog didn't look like a
good way to do that.

Drew
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFApSXhgfzn5SevSpoRAvIlAJ98RdxrjPXlwxqXLwdKjOTgSf0LjACfYZks
iMmO3vDJQgS5NjKeaOrNhfc=
=sFcr
-----END PGP SIGNATURE-----

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Alvaro Herrera 2004-05-14 20:41:06 nested transactions
Previous Message Bruce Momjian 2004-05-14 20:00:52 Re: pg_ctl patch to integrate apache's rotatelogs