Re: [7.0.2] rotating log files ...

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [7.0.2] rotating log files ...
Дата
Msg-id 200010161553.LAA07691@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [7.0.2] rotating log files ...  (Palle Girgensohn <girgen@partitur.se>)
Список 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@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

В списке pgsql-admin по дате отправления:

Предыдущее
От: David Huttleston Jr
Дата:
Сообщение: Re: Database connectivity
Следующее
От: Michel Decima
Дата:
Сообщение: pltcl, linker and statistical functions