Re: logLevelSet is not going from PGPoolingDataSource to PGPoolConnectionDataSource - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: logLevelSet is not going from PGPoolingDataSource to PGPoolConnectionDataSource
Date
Msg-id CADK3HHK2ZDRGUjKCgtNHoD48hkRi8LKtAipTj7y0fAw-OoL1CA@mail.gmail.com
Whole thread Raw
In response to logLevelSet is not going from PGPoolingDataSource to PGPoolConnectionDataSource  ("Eric J. Van der Velden" <ericjvandervelden@gmail.com>)
List pgsql-jdbc
Can you try making a jar from HEAD, this is probably fixed already

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca

On 20 January 2015 at 16:22, Eric J. Van der Velden <ericjvandervelden@gmail.com> wrote:
Hello,

In BaseDataSource.initializeFrom fields like logLevel are copied from the PGPoolingDataSource instance to the PGPoolConnectionDataSource instance. But not logLevelSet.

In my app I did,

PGPoolingDataSource ds=new PGPoolingDataSource(); ds.setLogLevel(org.postgresql.Driver.DEBUG);

So ds.logLevelSet=true will be done. But after BaseDataSource.initializeFrom in the PGPoolConnectionDataSource I see that the LogLevel=2, so that's OK, but logLevelSet=false.

Thanks,

Eric J.

pgsql-jdbc by date:

Previous
From: "Eric J. Van der Velden"
Date:
Subject: logLevelSet is not going from PGPoolingDataSource to PGPoolConnectionDataSource
Next
From: Oussema Benjemaa
Date:
Subject: mapping java objects with postgresql types