[AMQ-7301] Use warn for connection failure instead of error.

This commit is contained in:
Jean-Baptiste Onofré 2019-11-12 15:19:13 +01:00
parent 14b05380ba
commit f3f8271503
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}
});