mirror of
https://github.com/apache/activemq.git
synced 2025-02-17 23:45:59 +00:00
Merge pull request #1164 from jbonofre/AMQ-9438
AMQ-9438: Don't log full stack trace when lookup failure happens in FailoverTransport
This commit is contained in:
commit
dcb660f7fc
@ -1399,9 +1399,11 @@ public class FailoverTransport implements CompositeTransport {
|
|||||||
} catch(IOException e) {
|
} catch(IOException e) {
|
||||||
|
|
||||||
if (firstAddr == null) {
|
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 {
|
} 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())) {
|
if (first.getHost().equalsIgnoreCase(second.getHost())) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user