From: Wei Weng <wweng@kencast.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: debug a mess
Date: Thu, 27 Feb 2003 13:05:07 -0500
Message-ID: <20030227130507.A31962@example.com> (raw)
In-Reply-To: <20030227121806.A31374@example.com>
References: <20030225155820.B24120@example.com>
<13032.1046208448@sss.pgh.pa.us>
<20030226161011.A28093@example.com>
<6489.1046295261@sss.pgh.pa.us>
<20030227121806.A31374@example.com>
> Tom:
>
> I checked pg_config's output, in my redhat build, syslog is already enabled.
> So that clears some of my doubt.
>
> This is how I started my postmaster.
>
> su postgres
>
> /usr/bin/pg_ctl -D $PGDATA -l /var/log/pgsql -p /usr/bin/postmaster start >
> /var/log/pgsql 2>&1
>
> I am trying my best to force the postmaster to write to the /var/log/pgsql
> file. But it didn't seem to work at all. All there in /var/log/pgsql is a
> oneline "postmaster successfully started". I checked the manpages, and all
> they say about log is use -l switch (which I used).
>
> Can you provide a little more hints?
>
> Thanks!
>
Actually, never mind that. :)
I changed the setting in postgresql.conf to syslog = 1 and everything now
spills out of both standard out (which directs to /var/log/pgsql) and syslog
(which I still don't know where it is being stored).
Wei
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: wweng@kencast.com, tgl@sss.pgh.pa.us
Subject: Re: debug a mess
In-Reply-To: <20030227130507.A31962@example.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox