Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id BA60A633804 for ; Tue, 17 Aug 2010 11:08:42 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 43208-08 for ; Tue, 17 Aug 2010 14:08:31 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from rs73.luxsci.com (rs73.luxsci.com [64.49.254.135]) by mail.postgresql.org (Postfix) with ESMTP id DDFF163380D for ; Tue, 17 Aug 2010 11:08:32 -0300 (ADT) Received: from GNANAM (ABTS-TN-Static-186.58.165.122.airtelbroadband.in [122.165.58.186] (may be forged)) (authenticated bits=0) by rs73.luxsci.com (8.13.8/8.13.8) with ESMTP id o7HE8RjQ021010; Tue, 17 Aug 2010 09:08:29 -0500 Reply-To: From: "Gnanakumar" To: References: <005701cb3aea$cdc26ae0$694740a0$@com> In-Reply-To: <005701cb3aea$cdc26ae0$694740a0$@com> Subject: Re: SQL statements not printed in pgpool log Date: Tue, 17 Aug 2010 19:37:49 +0530 Organization: Zoniac Software Private Limited Message-ID: <002f01cb3e15$9511acf0$bf3506d0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acs66suieQlRQoe1SnCWDE7dDM5h0QDKpSWw Content-Language: en-us X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201008/129 X-Sequence-Number: 35378 Any ideas/suggestions? -----Original Message----- From: Gnanakumar [mailto:gnanam@zoniac.com] Sent: Friday, August 13, 2010 6:54 PM To: pgsql-admin@postgresql.org Subject: SQL statements not printed in pgpool log Hi, Our production server is running PostgreSQL v8.2.3 on Red Hat Enterprise Linux Server release 5 (Tikanga) and for database connection management we're using pgpool-II v2.0.1. I've been following with one of the issue I was facing with pgpool in its forums and mailing list, but till now I've not any found any response/solution there. http://pgfoundry.org/pipermail/pgpool-general/2010-August/002861.html Issue is: Recently, we upgraded our JDBC driver 2 to JDBC driver 4. After changing to JDBC driver 4, I'm not able to see none of the SQL statements printed in pgpool log. What's going wrong? Instead of SQL statements, I can see only the following lines: 2010-08-09 20:22:20 LOG: pid 20794: YYYYY 2010-08-09 20:22:20 LOG: pid 20794: YYYYY 2010-08-09 20:22:20 LOG: pid 20794: YYYYY If I use JDBC driver 2, I don't have this problem. How do I fix this issue, so that SQL statements are also printed in the pgpool log. I know that this is not the right place to post, but I hope PostgreSQL experts can assist me in the right direction to resolve this issue? Regards, Gnanam