From: Gaetano Mendola <mendola@bigfoot.com>
To: pgsql-admin@postgresql.org
Subject: Re: logging queries
Date: Tue, 24 Sep 2002 09:35:35 +0200
Message-ID: <amp4k6$2f1v$1@news.hub.org> (raw)
References: <NEBBLAAHGLEEPCGOBHDGOEHAFNAA.nickf@ontko.com>
""Nick Fankhauser"" <nickf@ontko.com> wrote in message
news:NEBBLAAHGLEEPCGOBHDGOEHAFNAA.nickf@ontko.com...
> Hi-
>
> I'd like to set the logging or debug level so that the text of the queries
> that are executed show up in the log file. It seems to me that I recall
this
> being discussed before, but I can't find any specific references in the
> runtime-config portion of the docs.
>
> Can someone tell me if this is possible & if so, what runtime settings are
> needed?
Well,
in postgresql.conf put
debug_level = 2
debug_print_query = true
Ciao
Gaetano
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: mendola@bigfoot.com
Subject: Re: logging queries
In-Reply-To: <amp4k6$2f1v$1@news.hub.org>
References: <NEBBLAAHGLEEPCGOBHDGOEHAFNAA.nickf@ontko.com> <amp4k6$2f1v$1@news.hub.org>
* 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