It seems
org.postgresql.Driver.setLogLevel(org.postgresql.Driver.DEBUG) does
not work anymore in the newer JDBC driver.
As far as I know, postgresql-9.2-1003.jdbc4.jar or
postgresql-9.3-1104.jdbc41.jar work fine and produce following output
for example:
16:36:36.459 (1) PostgreSQL 9.3 JDBC4.1 (build 1104)
16:36:36.464 (1) Trying to establish a protocol version 3 connection to localhost:11000
16:36:36.481 (1) Receive Buffer Size is 530904
16:36:36.481 (1) Send Buffer Size is 1313280
16:36:36.481 (1) FE=> StartupPacket(user=t-ishii, database=test, client_encoding=UTF8, DateStyle=ISO,
TimeZone=Asia/Tokyo,extra_float_digits=2)
16:36:36.487 (1)<=BE AuthenticationOk
However postgresql-9.4-1204.jdbc41.jar shows nothing.
Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp