From bc326c8e5764c791fc4bb2c7e1aecb258c8212ad Mon Sep 17 00:00:00 2001 From: Timothy Bish Date: Mon, 31 Mar 2014 18:34:58 -0400 Subject: [PATCH] https://issues.apache.org/jira/browse/AMQ-5122 tone down logging of warn to just exception message, full exception logged as debug. --- .../org/apache/activemq/network/DiscoveryNetworkConnector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemq-broker/src/main/java/org/apache/activemq/network/DiscoveryNetworkConnector.java b/activemq-broker/src/main/java/org/apache/activemq/network/DiscoveryNetworkConnector.java index d9cb0c64f0..feef9d585d 100644 --- a/activemq-broker/src/main/java/org/apache/activemq/network/DiscoveryNetworkConnector.java +++ b/activemq-broker/src/main/java/org/apache/activemq/network/DiscoveryNetworkConnector.java @@ -153,7 +153,7 @@ public class DiscoveryNetworkConnector extends NetworkConnector implements Disco } catch (Exception e) { ServiceSupport.dispose(localTransport); ServiceSupport.dispose(remoteTransport); - LOG.warn("Could not start network bridge between: {} and: {} due to: {}", new Object[]{ localURI, uri, e }); + LOG.warn("Could not start network bridge between: {} and: {} due to: {}", new Object[]{ localURI, uri, e.getMessage() }); LOG.debug("Start failure exception: ", e); try { // Will remove bridge and active event.