Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 45C4B9FB988 for ; Fri, 22 Jun 2007 10:21:48 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 41304-02 for ; Fri, 22 Jun 2007 10:21:43 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from pjetlic.mobart.hr (pjetlic.mobart.hr [80.80.51.10]) by postgresql.org (Postfix) with ESMTP id 1937A9FC0F6 for ; Fri, 22 Jun 2007 10:21:44 -0300 (ADT) Received: from localhost (localhost.localdomain [127.0.0.1]) by pjetlic.mobart.hr (Postfix) with ESMTP id 0BFC43C919; Fri, 22 Jun 2007 15:21:41 +0200 (CEST) Received: from pjetlic.mobart.hr ([127.0.0.1]) by localhost (pjetlic [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04402-15; Fri, 22 Jun 2007 15:21:39 +0200 (CEST) Received: from [192.168.10.101] (83-131-43-84.adsl.net.t-com.hr [83.131.43.84]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by pjetlic.mobart.hr (Postfix) with ESMTP id E1F263C915; Fri, 22 Jun 2007 15:21:38 +0200 (CEST) Subject: Re: Log files cluttered with jdbc3/4 for pg8.2 From: Mario Splivalo Reply-To: mario.splivalo@mobart.hr To: Tom Lane Cc: pgsql-jdbc@postgresql.org In-Reply-To: <18051.1182352589@sss.pgh.pa.us> References: <1182343472.12993.7.camel@localhost.localdomain> <18051.1182352589@sss.pgh.pa.us> Content-Type: text/plain Organization: Mob-Art d.o.o. Date: Fri, 22 Jun 2007 15:21:34 +0200 Message-Id: <1182518494.16014.15.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by OpenSource AV+AS Mail Server X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200706/73 X-Sequence-Number: 17135 On Wed, 2007-06-20 at 11:16 -0400, Tom Lane wrote: > Mario Splivalo writes: > > I finaly see the actuall parametars the function was called with, but, I > > have too much lines for a simple SELECT. > > Well, if you set log_min_messages to DEBUG, as you evidently have, > you're going to get a pretty chatty log. You might want to rethink > your log_duration threshold as well. Yes, I have log_min_messages to DEBUG, but if I set it to INFO, NOTICE, WARNING or ERROR I still have PARSE LOG, BIND LOG/BIND DETAIL entries. I haven't been able to found what exactley they are, and I'd realy like to not have them in my log files. I need to have log_duration at 0 so I log EVERY call from the jdbc to the postgresql because that's excellent way of debuging the dataflow from the middle-tier to the application. I guess I'll be using pg7.4 JDBC driver for development, and use 8.2 JDBC in production (there I have log_duration set to around 600). Could anyone point me on what exactly PARSE LOG and BIND LOG entries are? Mario