logLevelSet is not going from PGPoolingDataSource to PGPoolConnectionDataSource

Поиск
Список
Период
Сортировка
От Eric J. Van der Velden
Тема logLevelSet is not going from PGPoolingDataSource to PGPoolConnectionDataSource
Дата
Msg-id CAFxAhE-EOTDJF5b3akAPJvjZWvZV7h20MMPK+7M2a_X=qE2DkA@mail.gmail.com
обсуждение исходный текст
Ответы Re: logLevelSet is not going from PGPoolingDataSource to PGPoolConnectionDataSource  (Dave Cramer <pg@fastcrypt.com>)
Список 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 по дате отправления:

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: problem with pgjdbc prepared statements and new jsonb exists operator (?)
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: logLevelSet is not going from PGPoolingDataSource to PGPoolConnectionDataSource