X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 8166D9DCCB8 for ; Tue, 6 Dec 2005 19:07:30 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 16877-06 for ; Tue, 6 Dec 2005 19:07:28 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [131.203.101.226]) by postgresql.org (Postfix) with ESMTP id 2234D9DCC15 for ; Tue, 6 Dec 2005 19:07:24 -0400 (AST) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.20]) by yass.opencloud.co.nz with asmtp (TLS-1.0:DHE_RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1Ejlu7-0005X5-5C; Wed, 07 Dec 2005 12:07:23 +1300 Message-ID: <439619AA.6010706@opencloud.com> Date: Wed, 07 Dec 2005 12:07:22 +1300 From: Oliver Jowett User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051009) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Heikki Linnakangas CC: Jan de Visser , pgsql-jdbc@postgresql.org Subject: Re: pgsql XA with weblogic 8.1? References: <200511281217.39287.jdevisser@digitalfairway.com> <200511281506.39492.jdevisser@digitalfairway.com> <200512060837.50186.jdevisser@digitalfairway.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200512/35 X-Sequence-Number: 14366 Heikki Linnakangas wrote: > On Tue, 6 Dec 2005, Jan de Visser wrote: > >> On Tuesday 29 November 2005 00:50, Kris Jurka wrote: >> >>> Any chance you could send us a log trace using >>> Oliver's new logging code in 8.2dev with loglevel=2? >> >> >> Anybody care to explain how I set that up using a DataSource? There >> does not >> seem to be a setLogLevel on BaseDataSource, and I can't use a URL >> either... Unfortunately the DataSource stuff has been a bit neglected when it comes to connection parameters, there's lots of stuff you can't set there :( > Doesn't seem to be directly possible. The loglevel variables are static > however, so you should be able to just call > org.postgresql.Driver.setLogLevel, unless there's some classloader issues. They're now actually per-connection, but if you set a level at the Driver level that becomes the default for new connections. Or you can create a properties file called "org/postgresql/driverconfig.properties" and put it in the driver's classpath, and the driver will load defaults for all properties from there. -O