mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-22 22:19:03 +00:00
Improve debug log for received message
This commit is contained in:
+1
-1
@@ -318,7 +318,7 @@ public abstract class AbstractPollingMessageListenerContainer extends AbstractMe
|
||||
Observation observation = createObservation(message).start();
|
||||
Observation.Scope scope = observation.openScope();
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("Received message of type [" + message.getClass() + "] from consumer [" +
|
||||
logger.debug("Received message of type [" + message.getClass().getName() + "] from consumer [" +
|
||||
consumerToUse + "] of " + (transactional ? "transactional " : "") + "session [" +
|
||||
sessionToUse + "]");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user