Re: logging bug in JDBC driver(https://jdbc.postgresql.org/download/postgresql-9.4.1212.jar) - Mailing list pgsql-jdbc

From Brad DeJong
Subject Re: logging bug in JDBC driver(https://jdbc.postgresql.org/download/postgresql-9.4.1212.jar)
Date
Msg-id F8F0ED16CB59F247B7EFD0E1DB34BC1F5CB5D4D6@USALWEXMBX3.infor.com
Whole thread Raw
In response to [JDBC] logging bug in JDBC driver(https://jdbc.postgresql.org/download/postgresql-9.4.1212.jar)  (Sergey Kim <skim@odin.com>)
Responses Re: logging bug in JDBC driver(https://jdbc.postgresql.org/download/postgresql-9.4.1212.jar)  (Sergey Kim <skim@odin.com>)
List pgsql-jdbc

Sergey Kim wrote:

> ... (loglevel) parameter doesn't produce any messages ...

 

Please verify that your application calls java.sql.DriverManager.setLogWriter(PrintWriter) to set the log destination.

 

I just tested loglevel in PostgreSQL JDBC Driver 42.0.0.SNAPSHOT and including loglevel=2 in the JDBC connection string sets the loglevel correctly but the driver will only log messages if there is a valid LogWriter.

pgsql-jdbc by date:

Previous
From: Sergey Kim
Date:
Subject: [JDBC] logging bug in JDBC driver(https://jdbc.postgresql.org/download/postgresql-9.4.1212.jar)
Next
From: Sergey Kim
Date:
Subject: Re: logging bug in JDBC driver(https://jdbc.postgresql.org/download/postgresql-9.4.1212.jar)