Re: debug a mess

From: Wei Weng <wweng(at)kencast(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: debug a mess
Date: 2003-02-27 18:05:07
Message-ID: 20030227130507.A31962@example.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

> 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

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Terry Lee Tucker 2003-02-27 20:20:10 Re: Advice Needed
Previous Message Wei Weng 2003-02-27 17:18:06 Re: debug a mess