pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Jan de Visser <jdevisser@digitalfairway.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: pgsql XA with weblogic 8.1?
Date: Wed, 07 Dec 2005 12:07:22 +1300
Message-ID: <439619AA.6010706@opencloud.com> (raw)
In-Reply-To: <Pine.OSF.4.61.0512062240140.464085@kosh.hut.fi>
References: <200511281217.39287.jdevisser@digitalfairway.com>
	<200511281506.39492.jdevisser@digitalfairway.com>
	<Pine.BSO.4.61.0511290025590.8766@leary.csoft.net>
	<200512060837.50186.jdevisser@digitalfairway.com>
	<Pine.OSF.4.61.0512062240140.464085@kosh.hut.fi>

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



view thread (13+ messages)  latest in thread

Message-ID: <439619AA.6010706@opencloud.com>
Permalink:  ../439619AA.6010706@opencloud.com/
Also on:    postgresql.org/message-id/439619AA.6010706@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, hlinnaka@iki.fi, jdevisser@digitalfairway.com
  Subject: Re: pgsql XA with weblogic 8.1?
  In-Reply-To: <439619AA.6010706@opencloud.com>
  References: <200511281217.39287.jdevisser@digitalfairway.com> <200511281506.39492.jdevisser@digitalfairway.com> <Pine.BSO.4.61.0511290025590.8766@leary.csoft.net> <200512060837.50186.jdevisser@digitalfairway.com> <Pine.OSF.4.61.0512062240140.464085@kosh.hut.fi> <439619AA.6010706@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox