From a772b0ef7261b3cbe0093e083d39f6440aa6a936 Mon Sep 17 00:00:00 2001 From: Daniel Kulp Date: Wed, 27 Jan 2016 10:06:36 -0500 Subject: [PATCH] Remove a printStackTrace for an exception that is also logged. Produces noise on console --- .../java/org/apache/activemq/broker/TransportConnection.java | 1 - 1 file changed, 1 deletion(-) 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 a9d36b5da3..2727503382 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)) {