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