[pgjdbc/pgjdbc] b97ad6: Honour setLogStream. If the logStream is set (#780...

From: Dave Cramer <davecramer(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: [pgjdbc/pgjdbc] b97ad6: Honour setLogStream. If the logStream is set (#780...
Date: 2017-03-23 12:08:38
Message-ID: 58d3bac6280e2_2ed53fd0243c7c2c426095@hookshot-fe5-cp1-prd.iad.github.net.mail
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmail(dot)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

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jorge Solorzano 2017-03-23 12:09:02 [pgjdbc/pgjdbc] ef8c6f: refactor: simplify Encoding class (#765)
Previous Message Tom Dunstan 2017-03-23 08:24:56 Interest in allowing caller to push binary data rather than having it pulled?