Обсуждение: logLevelSet is not going from PGPoolingDataSource to PGPoolConnectionDataSource

Поиск
Список
Период
Сортировка

logLevelSet is not going from PGPoolingDataSource to PGPoolConnectionDataSource

От
"Eric J. Van der Velden"
Дата:
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

От
Dave Cramer
Дата:
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.