Re: [7.0.2] rotating log files ...

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

Cheers,
Palle

The Hermit Hacker wrote:
>
> can someone recommend on how to rotate the following log files without
> having to stop/start the server?
...
> suggestions?
>
> Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
> Systems Administrator @ hub.org
> primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org

Вложения

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

Предыдущее
От: Ragnar Kjørstad
Дата:
Сообщение: Re: [7.0.2] rotating log files ...
Следующее
От: Palle Girgensohn
Дата:
Сообщение: Cannot vacuum! Stops on first table, pg_type