pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Wei Weng <wweng@kencast.com>
Cc: Matthew Vanecek <mevanecek@yahoo.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: debug a mess
Date: Wed, 26 Feb 2003 16:34:21 -0500
Message-ID: <6489.1046295261@sss.pgh.pa.us> (raw)
In-Reply-To: <20030226161011.A28093@example.com>
References: <20030225155820.B24120@example.com>
	<13032.1046208448@sss.pgh.pa.us>
	<20030226161011.A28093@example.com>

Wei Weng <wweng@kencast.com> writes:
> Where is postmaster log? I found a new file in /var/log/pgsql. I put
> log_connections = yes and syslog = 2 into my postgresql.conf file and expect
> something to happen. Restarted postgresql service on my redhat 7.3 box and
> tried a couple of queries with psql utility. Nothing seemed to have been
> logged in /var/log/pgsql.

If you want to use syslog then you'd better be sure that syslogd is
configured to do something useful with Postgres messages, and not just
drop 'em on the floor.

If you want to use stderr, look at the start script.  Some distros
provide Postgres start scripts that route the postmaster's stderr to
/dev/null --- either explicitly, or by using the infamous -S switch.

			regards, tom lane



view thread (9+ messages)  latest in thread

Message-ID: <6489.1046295261@sss.pgh.pa.us>
Permalink:  ../6489.1046295261@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6489.1046295261@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, wweng@kencast.com, mevanecek@yahoo.com
  Subject: Re: debug a mess
  In-Reply-To: <6489.1046295261@sss.pgh.pa.us>

* 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