logLevelSet is not going from PGPoolingDataSource to PGPoolConnectionDataSource

From: "Eric J(dot) Van der Velden" <ericjvandervelden(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: logLevelSet is not going from PGPoolingDataSource to PGPoolConnectionDataSource
Date: 2015-01-20 21:22:23
Message-ID: CAFxAhE-EOTDJF5b3akAPJvjZWvZV7h20MMPK+7M2a_X=qE2DkA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2015-01-20 22:23:19 Re: logLevelSet is not going from PGPoolingDataSource to PGPoolConnectionDataSource
Previous Message Dave Cramer 2015-01-20 11:19:20 Re: problem with pgjdbc prepared statements and new jsonb exists operator (?)