mirror of
https://github.com/apache/activemq.git
synced 2025-02-16 15:08:10 +00:00
AMQ-9438: Don't log full stack trace when lookup failure happens in FailoverTransport
(cherry picked from commit ea92ade33ad6e0fe0517ffbe2e62881a9647887e)
This commit is contained in:
parent
bf53385ed2
commit
450d222040
@ -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())) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user