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

From Eric J. Van der Velden
Subject logLevelSet is not going from PGPoolingDataSource to PGPoolConnectionDataSource
Date
Msg-id CAFxAhE-EOTDJF5b3akAPJvjZWvZV7h20MMPK+7M2a_X=qE2DkA@mail.gmail.com
Whole thread Raw
Responses Re: logLevelSet is not going from PGPoolingDataSource to PGPoolConnectionDataSource
List pgsql-jdbc
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: Dave Cramer
Date:
Subject: Re: problem with pgjdbc prepared statements and new jsonb exists operator (?)
Next
From: Dave Cramer
Date:
Subject: Re: logLevelSet is not going from PGPoolingDataSource to PGPoolConnectionDataSource