From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Palle Girgensohn <girgen(at)partitur(dot)se> |
Cc: | The Hermit Hacker <scrappy(at)hub(dot)org>, pgsql-admin(at)postgresql(dot)org |
Subject: | Re: [7.0.2] rotating log files ... |
Date: | 2000-10-16 15:53:21 |
Message-ID: | 200010161553.LAA07691@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
> 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Michel Decima | 2000-10-17 09:24:17 | pltcl, linker and statistical functions |
Previous Message | David Huttleston Jr | 2000-10-16 14:00:32 | Re: Database connectivity |