From: Jim C. Nasby <jnasby@pervasive.com>
To: H.J. Sanders <hjs@rmax.nl>
Cc: pgsql-admin@postgresql.org
Subject: Re: logfile
Date: Tue, 6 Jun 2006 16:53:20 -0500
Message-ID: <20060606215320.GF45331@pervasive.com> (raw)
In-Reply-To: <GMEAJIDMNDKCIHMMHDFLGELNDNAA.hjs@rmax.nl>
References: <GMEAJIDMNDKCIHMMHDFLGELNDNAA.hjs@rmax.nl>
On Tue, Jun 06, 2006 at 02:37:11PM +0200, H.J. Sanders wrote:
> I assume I do not understand the manual right (or my kind of english).
>
> In PGSQL 7.4 I only want error situations in the logfile, and if an error
> occurs as much as possible information like e.g. the sql statement.
>
> I entered in postgresql.conf:
>
> client_min_messages = error
> log_min_messages = error
> log_error_verbosity = terse
> log_min_error_statement = error
>
> log_statement = true
> log_timestamp = true
>
> but now all sql statements are always logged.
>
> What did I do wrong? Can someone give the proper settings?
log_statement = false. See docs for log_min_error_statement.
--
Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
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-admin@postgresql.org
Cc: jnasby@pervasive.com, hjs@rmax.nl
Subject: Re: logfile
In-Reply-To: <20060606215320.GF45331@pervasive.com>
* 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