Update log level

Issue: SPR-11673
This commit is contained in:
Rossen Stoyanchev
2014-04-30 10:28:27 -04:00
parent eab9d24c31
commit 6ca921021c

View File

@@ -390,8 +390,8 @@ public class StompBrokerRelayMessageHandler extends AbstractBrokerMessageHandler
if (sessionId == null || sessionId == SystemStompConnectionHandler.SESSION_ID) {
throw new MessageDeliveryException("Message broker is not active.");
}
if (logger.isTraceEnabled()) {
logger.trace("Message broker is not active. Ignoring message id=" + message.getHeaders().getId());
if (logger.isDebugEnabled()) {
logger.debug("Message broker is not active. Ignoring message id=" + message.getHeaders().getId());
}
return;
}
@@ -680,8 +680,8 @@ public class StompBrokerRelayMessageHandler extends AbstractBrokerMessageHandler
if (!this.isStompConnected) {
if (this.isRemoteClientSession) {
if (logger.isTraceEnabled()) {
logger.trace("Ignoring client message received " + message +
if (logger.isDebugEnabled()) {
logger.debug("Ignoring client message received " + message +
(conn != null ? "before CONNECTED frame" : "after TCP connection closed"));
}
return EMPTY_TASK;