Re: Tracing in Postgres

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Tracing in Postgres
Дата
Msg-id 7491.1311602080@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Tracing in Postgres  (Craig Ringer <craig@postnewspapers.com.au>)
Ответы Re: Tracing in Postgres  (Craig Ringer <craig@postnewspapers.com.au>)
Список pgsql-general
Craig Ringer <craig@postnewspapers.com.au> writes:
> On 25/07/11 12:33, Harshitha S wrote:
>> But I just want to replace the implementation of the logging/tracing
>> in Postgres, so that the existing messages can be redirected to a
>> file, a USB etc.,

> OK. If you are running on Unix/Linux you can just tell your syslog
> daemon to do that for you, there's no need to modify PostgreSQL at all.

Or just redirect postmaster's stderr to the target file, and don't even
bother with syslog ...

            regards, tom lane

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

Предыдущее
От: Achilleas Mantzios
Дата:
Сообщение: Re: Disallow access from psql, or allow access only from specific client app
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Query, usually running <300ms, sometimes hangs for hours