Re: logLevelSet is not going from PGPoolingDataSource to PGPoolConnectionDataSource

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: "Eric J(dot) Van der Velden" <ericjvandervelden(at)gmail(dot)com>
Cc: List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: logLevelSet is not going from PGPoolingDataSource to PGPoolConnectionDataSource
Date: 2015-01-20 22:23:19
Message-ID: CADK3HHK2ZDRGUjKCgtNHoD48hkRi8LKtAipTj7y0fAw-OoL1CA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmail(dot)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.
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oussema Benjemaa 2015-01-22 15:39:39 mapping java objects with postgresql types
Previous Message Eric J. Van der Velden 2015-01-20 21:22:23 logLevelSet is not going from PGPoolingDataSource to PGPoolConnectionDataSource