Re: Tracing in Postgres - Mailing list pgsql-general

From Tom Lane
Subject Re: Tracing in Postgres
Date
Msg-id 7491.1311602080@sss.pgh.pa.us
Whole thread Raw
In response to Re: Tracing in Postgres  (Craig Ringer <craig@postnewspapers.com.au>)
Responses Re: Tracing in Postgres
List 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 by date:

Previous
From: Achilleas Mantzios
Date:
Subject: Re: Disallow access from psql, or allow access only from specific client app
Next
From: Tom Lane
Date:
Subject: Re: Query, usually running <300ms, sometimes hangs for hours