Thread: logLevelSet is not going from PGPoolingDataSource to PGPoolConnectionDataSource
logLevelSet is not going from PGPoolingDataSource to PGPoolConnectionDataSource
From
"Eric J. Van der Velden"
Date:
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.
Re: logLevelSet is not going from PGPoolingDataSource to PGPoolConnectionDataSource
From
Dave Cramer
Date:
Can you try making a jar from HEAD, this is probably fixed already
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.