diff --git a/activemq-client/src/main/java/org/apache/activemq/transport/failover/FailoverTransport.java b/activemq-client/src/main/java/org/apache/activemq/transport/failover/FailoverTransport.java index 05f2d28020..8a96ad8c4c 100644 --- a/activemq-client/src/main/java/org/apache/activemq/transport/failover/FailoverTransport.java +++ b/activemq-client/src/main/java/org/apache/activemq/transport/failover/FailoverTransport.java @@ -1399,9 +1399,11 @@ public class FailoverTransport implements CompositeTransport { } catch(IOException e) { if (firstAddr == null) { - LOG.error("Failed to Lookup INetAddress for URI[{}] : {}", first, e); + LOG.error("Failed to Lookup INetAddress for URI[{}]", first); + LOG.debug("Lookup Failure stack trace", e); } else { - LOG.error("Failed to Lookup INetAddress for URI[{}] : {}", second, e); + LOG.error("Failed to Lookup INetAddress for URI[{}]", second); + LOG.debug("Lookup Failure stack trace", e); } if (first.getHost().equalsIgnoreCase(second.getHost())) {