Re: BUG #6459: logging_collector=off but log_filename set inhibits logoutpu

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #6459: logging_collector=off but log_filename set inhibits logoutpu
Дата
Msg-id 11968.1329263129@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #6459: logging_collector=off but log_filename set inhibits logoutpu  (calestyo@scientia.net)
Ответы Re: BUG #6459: logging_collector=off but log_filename set inhibits logoutpu  (Christoph Anton Mitterer <calestyo@scientia.net>)
Список pgsql-bugs
calestyo@scientia.net writes:
> http://www.postgresql.org/docs/9.1/static/runtime-config-logging.html
> claims that log_filename is only used when logging_collector is enabled.

That is a true statement, as can easily be proven by looking at the
source code: nothing except syslogger.c pays any attention to the
Log_filename variable.

> However it seems that if the later is off, but the former is set (to
> anything), no log output goes to stderr as well.

That would depend on other settings that you haven't mentioned,
particularly log_destination.  Keep in mind also that the active setting
of logging_collector can't be changed without a postmaster restart
(which is why it's a separate variable from log_destination).

            regards, tom lane

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

Предыдущее
От: calestyo@scientia.net
Дата:
Сообщение: BUG #6459: logging_collector=off but log_filename set inhibits logoutpu
Следующее
От: Andy Grimm
Дата:
Сообщение: Re: BUG #6412: psql & fe-connect truncate passwords