Re: postmaster and logrotate

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: postmaster and logrotate
Дата
Msg-id 200312221756.hBMHuFf29038@candle.pha.pa.us
обсуждение исходный текст
Ответ на postmaster and logrotate  (Dima Tkach <dmitry@openratings.com>)
Список pgsql-general
Dima Tkach wrote:
> Hi, everybody!
>
> I was wonderring if there is a way to make logrotate work with postgres
> logs?
> More precisely, the question is - is there any way to tell a running
> postmaster process to reopen its log file?
> I tried kill -HUP ... but that doesn't seem to do anything...
>
> Is there just no way to do what I want?

Docs say pipe into logrotate:

    http://developer.postgresql.org/docs/postgres/logfile-maintenance.html

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Dima Tkach
Дата:
Сообщение: postmaster and logrotate
Следующее
От: Claudio Succa
Дата:
Сообщение: Re: postmaster and logrotate