On Fri, May 21, 2004 at 16:59:31 -0400,
Andrew Hammond <[EMAIL PROTECTED]> wrote:
>
> I would be insterested in seeing how to set up multilog by it'self. I
> figure that once you get that far, going to daemontools should be pretty
> straighforward. It's also within the scope of Postgres' logging
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bruno Wolff III wrote:
| On Fri, May 21, 2004 at 09:34:04 -0400,
| Andrew Hammond <[EMAIL PROTECTED]> wrote:
|
|>-BEGIN PGP SIGNED MESSAGE-
|>Hash: SHA1
|>
|>Bruno, would you be willing to write something for docs about how to use
|>multilog f
On Fri, May 21, 2004 at 09:34:04 -0400,
Andrew Hammond <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Bruno, would you be willing to write something for docs about how to use
> multilog for postgres?
What are you looking for. Do you need to know about how to in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bruno, would you be willing to write something for docs about how to use
multilog for postgres?
Drew
Bruce Momjian wrote:
| We documented using rotatelogs in the pg_ctl manual page, and have the
| main docs correct on how to use it. Hopefully that will
We documented using rotatelogs in the pg_ctl manual page, and have the
main docs correct on how to use it. Hopefully that will be enough.
---
Andrew Hammond wrote:
[ PGP not available, raw data follows ]
> -BEGIN PGP SI
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
|>logrotate rotates log files and hups the servers according to a
|>configuration file. rotatelogs reads the log data on stdin and reopens
|>a new output file once in a while. The first hunk of your patch was
|>wrong, the rest seemed OK.
|
|
| OK, jus
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter Eisentraut wrote:
| Andrew Hammond wrote:
|
|>There was recently a huge thread in hackers about the value of making
|>postgres easier to install and use. I think this script makes
|>postgres easier to use for those of us who can't use syslog.
|
|
Peter Eisentraut wrote:
> Bruce Momjian wrote:
> > Tom Lane wrote:
> > > Bruce Momjian <[EMAIL PROTECTED]> writes:
> > > > Ouch. How long has that documentation been wrong? We have
> > > > pointed folks to that section of the docs tons of times, and no
> > > > one mentioned that "logrotate" is re
Bruce Momjian wrote:
> Tom Lane wrote:
> > Bruce Momjian <[EMAIL PROTECTED]> writes:
> > > Ouch. How long has that documentation been wrong? We have
> > > pointed folks to that section of the docs tons of times, and no
> > > one mentioned that "logrotate" is really "rotatelogs", and that
> > > it
Andrew Hammond wrote:
> There was recently a huge thread in hackers about the value of making
> postgres easier to install and use. I think this script makes
> postgres easier to use for those of us who can't use syslog.
So you're replacing
pg_ctl | rotatelogs
which everyone learns in his first
Tom Lane wrote:
> Bruce Momjian <[EMAIL PROTECTED]> writes:
> > Ouch. How long has that documentation been wrong? We have pointed
> > folks to that section of the docs tons of times, and no one mentioned
> > that "logrotate" is really "rotatelogs", and that it is missing
> > parameters?
>
> > I
Bruce Momjian <[EMAIL PROTECTED]> writes:
> Ouch. How long has that documentation been wrong? We have pointed
> folks to that section of the docs tons of times, and no one mentioned
> that "logrotate" is really "rotatelogs", and that it is missing
> parameters?
> I have applied the following pat
On Fri, May 14, 2004 at 16:02:43 -0400,
Andrew Hammond <[EMAIL PROTECTED]> wrote:
>
> 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 solu
Andrew Hammond wrote:
> ~From what I've seen, I have to disagree. The documentation says to "pipe
> the stderr of the postmaster to some type of log rotation program."
> which is pretty vague. It then includes an _incorrect_ example of how to
> use logrotate (logrotate rotates existing log files, i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bruno Wolff III wrote:
| On Fri, May 14, 2004 at 15:31:21 -0400,
| Andrew Hammond <[EMAIL PROTECTED]> 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
On Fri, May 14, 2004 at 15:31:21 -0400,
Andrew Hammond <[EMAIL PROTECTED]> 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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter Eisentraut wrote:
| Andrew Hammond wrote:
|
|>That's essentially what the patch does. It's better because it does
|>it correctly instead of requiring an admin to learn how to do it
|>correctly.
|
| That is entirely unconvincing handwaving.
There w
Andrew Hammond wrote:
> That's essentially what the patch does. It's better because it does
> it correctly instead of requiring an admin to learn how to do it
> correctly.
That is entirely unconvincing handwaving. We already have a method to
do what you propose, and it's no less correct or harde
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter Eisentraut wrote:
| Am Freitag, 14. Mai 2004 17:35 schrieb Andrew Hammond:
|
|>Please find attached a patch to integrate rotatelogs into pg_ctl. I've
|>noticed a couple of questions about how to do this and it seems easier
|>(and more elegant) to
Am Freitag, 14. Mai 2004 17:35 schrieb Andrew Hammond:
> Please find attached a patch to integrate rotatelogs into pg_ctl. I've
> noticed a couple of questions about how to do this and it seems easier
> (and more elegant) to solve it in code rather than in documentation. The
> patch is pretty simpl
20 matches
Mail list logo