Re: BUG #2088: logfiles only readable by instance owner

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: BUG #2088: logfiles only readable by instance owner
Дата
Msg-id 20051203203241.GA23035@wolff.to
обсуждение исходный текст
Ответ на Re: BUG #2088: logfiles only readable by instance owner  (Dick Snippe <Dick.Snippe@tech.omroep.nl>)
Список pgsql-bugs
On Fri, Dec 02, 2005 at 23:30:21 +0100,
  Dick Snippe <Dick.Snippe@tech.omroep.nl> wrote:
>
> Using a log rotation program is possible (apache rotatelogs comes to mind),
> but that would require starting postgresql with something like
>     postmaster | rotatelogs
> and just hope that rotetelogs doesn't die in the weeks or months that
> postmaster runs. Also postmaster can't be started as a daemon in this case.

You can use multilog in DJB's daemontools package to do this.

It writes the logfiles publicly readable, so you control access to them via
the directory they are contained in.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #2092: No answer to bug reports 1975 and 2055
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: BUG #2089: Documentation bug: Triggers in plpythonu