X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 8C3169FB1B9 for ; Tue, 6 Jun 2006 18:53:34 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 72088-02 for ; Tue, 6 Jun 2006 18:53:25 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id AEEC09FA13E for ; Tue, 6 Jun 2006 18:53:23 -0300 (ADT) Received: by noel.decibel.org (Postfix, from userid 1001) id 5085756483; Tue, 6 Jun 2006 16:53:21 -0500 (CDT) Received: (hashcash-sendmail, from uid 1001); Tue, 6 Jun 2006 16:53:20 -0500 Date: Tue, 6 Jun 2006 16:53:20 -0500 From: "Jim C. Nasby" To: "H.J. Sanders" Cc: pgsql-admin@postgresql.org Subject: Re: logfile Message-ID: <20060606215320.GF45331@pervasive.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 6.0-RELEASE-p4 amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.11 X-Hashcash: 1:20:060606:hjs@rmax.nl::sEzxnQrDQba6/CLB:0000004K1v X-Hashcash: 1:20:060606:pgsql-admin@postgresql.org::sO+27Ddtkpv+VrTQ:00000000000 00000000000000000000000025I2 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/36 X-Sequence-Number: 21998 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