mirror of https://github.com/apache/activemq.git
[AMQ-7301] Use warn for connection failure instead of error.
This commit is contained in:
parent
14b05380ba
commit
f3f8271503
|
@ -241,8 +241,8 @@ public class TransportConnector implements Connector, BrokerServiceAware {
|
|||
if (brokerService != null && brokerService.isStopping()) {
|
||||
LOG.info("Could not accept connection during shutdown {} : {}", (remoteHost == null ? "" : "from " + remoteHost), error.getLocalizedMessage());
|
||||
} else {
|
||||
LOG.error("Could not accept connection {} : {}", (remoteHost == null ? "" : "from " + remoteHost), error.getLocalizedMessage());
|
||||
LOG.debug("Reason: " + error, error);
|
||||
LOG.warn("Could not accept connection {} : {}", (remoteHost == null ? "" : "from " + remoteHost), error.getLocalizedMessage());
|
||||
LOG.debug("Reason: " + error.getMessage(), error);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue