[JDBC] [pgjdbc/pgjdbc] b97ad6: Honour setLogStream. If the logStream is set(#780... - Mailing list pgsql-jdbc

From Dave Cramer
Subject [JDBC] [pgjdbc/pgjdbc] b97ad6: Honour setLogStream. If the logStream is set(#780...
Date
Msg-id 58d3bac6280e2_2ed53fd0243c7c2c426095@hookshot-fe5-cp1-prd.iad.github.net.mail
Whole thread Raw
List pgsql-jdbc
  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: b97ad63089a9042cfef0ce97d1eaacce0fe47d4e
      https://github.com/pgjdbc/pgjdbc/commit/b97ad63089a9042cfef0ce97d1eaacce0fe47d4e
  Author: Dave Cramer <davecramer@gmail.com>
  Date:   2017-03-23 (Thu, 23 Mar 2017)

  Changed paths:
    M pgjdbc/pom.xml
    A pgjdbc/src/main/checkstyle/suppressions.xml
    M pgjdbc/src/main/java/org/postgresql/Driver.java
    A pgjdbc/src/main/java/org/postgresql/util/WriterHandler.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/DriverTest.java
    A pgjdbc/src/test/java/org/postgresql/util/NullOutputStream.java

  Log Message:
  -----------
  Honour setLogStream. If the logStream is set (#780)

* Honour setLogStream. If the logStream is set
then use it to output logs
Also set the parent logger level to the log level
requested.

* Added a WriterHandler, borrowed and attributed to apache
suppress our copyright check for that file
added the first test case for WriterHandler

* added seperate test for setLogStream

* suppress the output from the logging tests

* moved utility class to test



pgsql-jdbc by date:

Previous
From: Tom Dunstan
Date:
Subject: [JDBC] Interest in allowing caller to push binary data rather than having it pulled?
Next
From: Jorge Solorzano
Date:
Subject: [JDBC] [pgjdbc/pgjdbc] ef8c6f: refactor: simplify Encoding class (#765)