Thread: [JDBC] [pgjdbc/pgjdbc] b97ad6: Honour setLogStream. If the logStream is set(#780...
[JDBC] [pgjdbc/pgjdbc] b97ad6: Honour setLogStream. If the logStream is set(#780...
From
Dave Cramer
Date:
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