Re: Logfile created when not needed?

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Logfile created when not needed?
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCEA0FBE2@algol.sollentuna.se
обсуждение исходный текст
Ответ на Re: Logfile created when not needed?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> > If I configure log_destination='eventlog', and then
> > redirect_stderr='on', PostgreSQL will attempt to create a
> logfile in
> > pg_log anyway.
>
> So don't do that --- redirect_stderr is only sensible to turn
> on if you mean to use logging to stderr.

I don't. Normally. But I had it turned on, then changed log_destination
and forgot..


> The reason we don't attempt to enforce this is that
> log_destination is legal to change after startup, whereas we
> can't change redirect_stderr on-the-fly (because existing
> backends wouldn't have their stderr tied to the right place).

Ok. Fair 'nuf.


//Magnus


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Logfile created when not needed?
Следующее
От: "Dave Page"
Дата:
Сообщение: Windows build farm failures