activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject activemq git commit: Remove a printStackTrace for an exception that is also logged. Produces noise on console
Date Wed, 27 Jan 2016 15:07:08 GMT
Repository: activemq
Updated Branches:
  refs/heads/master acbe31fcb -> a772b0ef7


Remove a printStackTrace for an exception that is also logged.   Produces noise on console


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/a772b0ef
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/a772b0ef
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/a772b0ef

Branch: refs/heads/master
Commit: a772b0ef7261b3cbe0093e083d39f6440aa6a936
Parents: acbe31f
Author: Daniel Kulp <dkulp@apache.org>
Authored: Wed Jan 27 10:06:36 2016 -0500
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Wed Jan 27 10:06:36 2016 -0500

----------------------------------------------------------------------
 .../main/java/org/apache/activemq/broker/TransportConnection.java   | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/a772b0ef/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
----------------------------------------------------------------------
diff --git a/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
b/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
index a9d36b5..2727503 100755
--- a/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
+++ b/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
@@ -239,7 +239,6 @@ public class TransportConnection implements Connection, Task, CommandVisitor
{
         }
         if (!stopping.get() && !pendingStop) {
             transportException.set(e);
-            e.printStackTrace();
             if (TRANSPORTLOG.isDebugEnabled()) {
                 TRANSPORTLOG.debug(this + " failed: " + e, e);
             } else if (TRANSPORTLOG.isWarnEnabled() && !expected(e)) {


Mime
View raw message