Re: serverlog function (log_destination file)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: serverlog function (log_destination file)
Дата
Msg-id 2358.1086615003@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: serverlog function (log_destination file)  (Andreas Pflug <pgadmin@pse-consulting.de>)
Ответы Re: serverlog function (log_destination file)  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andreas Pflug <pgadmin@pse-consulting.de> writes:
> Hm, what I missed is that pg_ctl's -l parameter converts to a simple 
> stderr redirection, and it's hardly possible to find out where it's going.
> This could be solved by a file log_destination option or a 
> freopen(...,stderr) from a guc variable.

Any such patch would be rejected, because it would break the ability
to pipe stderr into another program (such as logrotate).  And what of
the syslog case?
        regards, tom lane


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Failures with windows port
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: serverlog function