Re: BUG #2180: log_statement=mod does not work - Mailing list pgsql-bugs

From Michael Fuhr
Subject Re: BUG #2180: log_statement=mod does not work
Date
Msg-id 20060119220724.GA15550@winnie.fuhr.org
Whole thread Raw
In response to BUG #2180: log_statement=mod does not work  ("Gilles" <s_gilou@yahoo.com>)
List pgsql-bugs
On Wed, Jan 18, 2006 at 03:38:17PM +0000, Gilles wrote:
> When I configure in the file postgresql.conf:
> log_statement=mod
> I don't have the update, delete, insert queries logged like it says in the
> documentation :
> http://www.postgresql.org/docs/8.1/interactive/runtime-config-logging.html
>
> Could you tell me, what I need to do to get these queries logged?

Works here.  Did you restart or reload the server after making the
change?  Are you sure you changed the right postgresql.conf (this can
be a problem if you have multiple versions of PostgreSQL installed)?
What does "SHOW log_statement" show?  Are you sure you're looking in
the right log file?  Do you see other log entries?

--
Michael Fuhr

pgsql-bugs by date:

Previous
From: Seneca Cunningham
Date:
Subject: Re: BUG #2168: 45.000.000 records too much?
Next
From: "dove-young"
Date:
Subject: unsubscribe