Trouble with query logging

From: ppi(at)amug(dot)org
To: pgsql-general(at)postgresql(dot)org
Subject: Trouble with query logging
Date: 2004-09-22 03:51:37
Message-ID: 20040922035137.GX75691@wyeth.trail.calm
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'm having difficulty getting postgresql to log queries.

I have the following set in my postgresql.conf:

-------------------------------
# - Syslog -

syslog = 2 # range 0-2; 0=stdout; 1=both; 2=syslog
syslog_facility = 'LOCAL0'
syslog_ident = 'postgres'

log_statement = yes

-------------------------------

I've done a:

pg_ctl reload -D /usr/local/pgsql/data/

and have even done a restart, but queries are not getting logged (to
/var/log/messages).

(Error messages are getting logged, however.)

I also tried specifying a log file using -l when doing pg_ctl restart.

Using postgresql version 7.4.

Any suggestions much appreciated!

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Miles Keaton 2004-09-22 04:32:19 brand new user - should I start with v8?
Previous Message Dennis Gearon 2004-09-21 23:53:19 difference 7.3.xx vs 7.4.xx