From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Palle Girgensohn <girgen@partitur.se>
Cc: The Hermit Hacker <scrappy@hub.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: [7.0.2] rotating log files ...
Date: Mon, 16 Oct 2000 11:53:21 -0400 (EDT)
Message-ID: <200010161553.LAA07691@candle.pha.pa.us> (raw)
In-Reply-To: <39AAF782.5E5B392C@partitur.se>
> Hi,
>
> Apart from using syslog, which apparently work fine (?) with
> 7.0.2, the 'rotatelogs' utility from apache's support dir is
> great (No need to hack one up, as Alfred Perlstein suggest;
> this babe been around and is quite stable).
>
> Of course, you need to stop the server once, but I guess other
> ways have been thouroughly dicussed in already :)
>
> Enclosed is a Bournce shell script showing how I start postgres
> on developers' machines [debug on] (run as root, will su pgsql)
>
> On syslog... is syslog support reliable now? If so,
> admin/pg-options.htm should be updated:
>
> ...Unfortunately many functions call directly printf() to print
> their messages to stdout or stderr and this output can't be
> redirected to syslog or have timestamps in it....
Would someone be interested in converting our fprintf(stderr,...) calls
to elog and submitting a patch, please?
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: pgman@candle.pha.pa.us, girgen@partitur.se, scrappy@hub.org
Subject: Re: [7.0.2] rotating log files ...
In-Reply-To: <200010161553.LAA07691@candle.pha.pa.us>
References: <39AAF782.5E5B392C@partitur.se> <200010161553.LAA07691@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox