Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TxKWI-0007Iy-V2 for pgsql-jdbc@arkaria.postgresql.org; Mon, 21 Jan 2013 16:46:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TxKWH-0000RW-OW for pgsql-jdbc@arkaria.postgresql.org; Mon, 21 Jan 2013 16:46:49 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TxKW9-0000JK-Lb for pgsql-jdbc@postgresql.org; Mon, 21 Jan 2013 16:46:41 +0000 Received: from outbound.vnet-inc.com ([216.146.104.103]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TxKW6-0003hn-Et for pgsql-jdbc@postgresql.org; Mon, 21 Jan 2013 16:46:39 +0000 Received: from [192.168.157.132] (unknown [76.75.27.41]) by outbound.vnet-inc.com (Postfix) with ESMTP id 362095A33; Mon, 21 Jan 2013 09:46:38 -0700 (MST) Message-ID: <50FD7094.9050104@ttc-cmc.net> Date: Mon, 21 Jan 2013 09:45:08 -0700 From: dmp User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.13) Gecko/20100914 SeaMonkey/2.0.8 MIME-Version: 1.0 To: Chen Huajun , 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> In-Reply-To: <50FD379F.1020304@cn.fujitsu.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) 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 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