Repository: activemq-artemis Updated Branches: refs/heads/1.x e57ae8980 -> 9334ed8b9
ARTEMIS-1199 JDBCSequentialFile prints log to System.out Debug information shouldn't be printed to stdout. Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/8ffdf970 Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/8ffdf970 Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/8ffdf970 Branch: refs/heads/1.x Commit: 8ffdf97054c6f10ee1919db2e1d1b484886a7c11 Parents: e57ae89 Author: Erich Duda <[email protected]> Authored: Thu Jun 1 13:11:29 2017 +0200 Committer: Clebert Suconic <[email protected]> Committed: Thu Jun 1 11:27:13 2017 -0400 ---------------------------------------------------------------------- .../activemq/artemis/jdbc/store/file/JDBCSequentialFile.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/8ffdf970/artemis-jdbc-store/src/main/java/org/apache/activemq/artemis/jdbc/store/file/JDBCSequentialFile.java ---------------------------------------------------------------------- diff --git a/artemis-jdbc-store/src/main/java/org/apache/activemq/artemis/jdbc/store/file/JDBCSequentialFile.java b/artemis-jdbc-store/src/main/java/org/apache/activemq/artemis/jdbc/store/file/JDBCSequentialFile.java index bb1cb61..6a668ef 100644 --- a/artemis-jdbc-store/src/main/java/org/apache/activemq/artemis/jdbc/store/file/JDBCSequentialFile.java +++ b/artemis-jdbc-store/src/main/java/org/apache/activemq/artemis/jdbc/store/file/JDBCSequentialFile.java @@ -156,7 +156,9 @@ public class JDBCSequentialFile implements SequentialFile { synchronized (writeLock) { int noBytes = dbDriver.writeToFile(this, data); seek(noBytes); - System.out.println("Write: ID: " + this.getId() + " FileName: " + this.getFileName() + size()); + if (logger.isTraceEnabled()) { + logger.trace("Write: ID: " + this.getId() + " FileName: " + this.getFileName() + size()); + } if (callback != null) callback.done(); return noBytes;
