Skip to content

Commit 6ca9210

Browse files
committed
Update log level
Issue: SPR-11673
1 parent eab9d24 commit 6ca9210

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/StompBrokerRelayMessageHandler.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,8 @@ protected void handleMessageInternal(Message<?> message) {
390390
if (sessionId == null || sessionId == SystemStompConnectionHandler.SESSION_ID) {
391391
throw new MessageDeliveryException("Message broker is not active.");
392392
}
393-
if (logger.isTraceEnabled()) {
394-
logger.trace("Message broker is not active. Ignoring message id=" + message.getHeaders().getId());
393+
if (logger.isDebugEnabled()) {
394+
logger.debug("Message broker is not active. Ignoring message id=" + message.getHeaders().getId());
395395
}
396396
return;
397397
}
@@ -680,8 +680,8 @@ public ListenableFuture<Void> forward(final Message<?> message) {
680680

681681
if (!this.isStompConnected) {
682682
if (this.isRemoteClientSession) {
683-
if (logger.isTraceEnabled()) {
684-
logger.trace("Ignoring client message received " + message +
683+
if (logger.isDebugEnabled()) {
684+
logger.debug("Ignoring client message received " + message +
685685
(conn != null ? "before CONNECTED frame" : "after TCP connection closed"));
686686
}
687687
return EMPTY_TASK;

0 commit comments

Comments
 (0)