Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ty0kr-0005wb-0n for pgsql-jdbc@arkaria.postgresql.org; Wed, 23 Jan 2013 13:52:41 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Ty0kq-0004IZ-F7 for pgsql-jdbc@arkaria.postgresql.org; Wed, 23 Jan 2013 13:52:40 +0000 Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ty0kp-0004IT-Ia for pgsql-jdbc@postgresql.org; Wed, 23 Jan 2013 13:52:39 +0000 Received: from [222.73.24.84] (helo=song.cn.fujitsu.com) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ty0km-0005lR-Cu for pgsql-jdbc@postgresql.org; Wed, 23 Jan 2013 13:52:39 +0000 X-IronPort-AV: E=Sophos;i="4.84,523,1355068800"; d="scan'208";a="6635870" Received: from unknown (HELO tang.cn.fujitsu.com) ([10.167.250.3]) by song.cn.fujitsu.com with ESMTP; 23 Jan 2013 21:50:19 +0800 Received: from fnstmail02.fnst.cn.fujitsu.com (tang.cn.fujitsu.com [127.0.0.1]) by tang.cn.fujitsu.com (8.14.3/8.13.1) with ESMTP id r0NDqQx4010350; Wed, 23 Jan 2013 21:52:26 +0800 Received: from [127.0.0.1] ([10.167.159.99]) by fnstmail02.fnst.cn.fujitsu.com (Lotus Domino Release 8.5.3) with ESMTP id 2013012321513110-5252 ; Wed, 23 Jan 2013 21:51:31 +0800 Message-ID: <50FFEB3C.5050700@cn.fujitsu.com> Date: Wed, 23 Jan 2013 21:53:00 +0800 From: Chen Huajun User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.9.2.28) Gecko/20120306 Lightning/1.0b2 Thunderbird/3.1.20 MIME-Version: 1.0 To: dmp CC: pgsql-jdbc@postgresql.org Subject: Re: [BUGS]log can not be output when use DataSource References: <50F8335B.6070404@ttc-cmc.net> <50FA1403.7020301@cn.fujitsu.com> <50FAF98A.1030008@ttc-cmc.net> <50FBCA78.3040007@cn.fujitsu.com> <50FC3529.3060101@ttc-cmc.net> <50FCC7EC.7050307@cn.fujitsu.com> <50FD1818.8060002@cn.fujitsu.com> <50FD379F.1020304@cn.fujitsu.com> <50FD7094.9050104@ttc-cmc.net> In-Reply-To: <50FD7094.9050104@ttc-cmc.net> X-MIMETrack: Itemize by SMTP Server on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2013/01/23 21:51:31, Serialize by Router on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2013/01/23 21:51:31, Serialize complete at 2013/01/23 21:51:31 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Host-Lookup-Failed: Reverse DNS lookup failed for 222.73.24.84 (failed) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org danap, > Could you and possibly while considering the new possible bug you found with > copying DataSource do a more through review of the BaseDataSource class? OK,I will review the BaseDataSource class first. -- Best Regards, Chen Huajun (2013/01/22 0:45), dmp wrote: > Chen, > > Could you and possibly while considering the new possible bug you found with > copying DataSource do a more through review of the BaseDataSource class? > > Then upon a review submit a complete patch to address not only the logLevel, but any other issues you may find. In this way Dave may not have to deal with > this bug in a piecemeal fashion. You could also include with the complete > patch(s) the modification for Driver.NONE = 0 also, since I think you are > correct with this. > > The reason I ask this is upon your discovery and my looking at that class > I suspect that some of the other parameters beside logLevel also have similar > problem. Also I think it best to deal with one issue at a time, so deal > with the original bug first, while considering the second then we can deal > with the copy/clone DataSource. > > I think the patch you did send in today is the correct approach for logLevel. > Also a DataSource should in being cloned probably copy the current properties, but that is only my first thought without review and full understanding. > > danap. > > -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc