[BUGS]log can not be output when use DataSource

Поиск
Список
Период
Сортировка
От Chen Huajun
Тема [BUGS]log can not be output when use DataSource
Дата
Msg-id 50F7824B.5080402@cn.fujitsu.com
обсуждение исходный текст
Ответы Re: [BUGS]log can not be output when use DataSource
Список pgsql-jdbc
Hi,

In the following code,log can not be output as expected.

-------------------------------------
org.postgresql.Driver.setLogLevel(org.postgresql.Driver.DEBUG);
DataSource source = (DataSource)new InitialContext().lookup("DataSource");
Connection con = source.getConnection();
-------------------------------------

It's seems to be a problem,
I have made a small patch to fix it.
Hopefully this useful.

--
Best Regards,
Chen Huajun


Вложения

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: Support for cert auth in JDBC
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: [BUGS]log can not be output when use DataSource