SimpleMessageListenerContainer logging errors at DEBUG level #3007
Replies: 3 comments 1 reply
-
I think you are right.
Creating issue from this and fixing, respectively. Thank you! |
Beta Was this translation helpful? Give feedback.
1 reply
-
Thanks for this, it would be really helpful in future situations like the one we had. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Closing this one as |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As we explained in #3006, we had some issues trying to read the
count
field inx-death
header. We have proposed a safer way to parse it.When we had the problem in production, it took some time to be detected, as the ClassCastException was logged at DEBUG level:
spring-amqp/spring-rabbit/src/main/java/org/springframework/amqp/rabbit/listener/SimpleMessageListenerContainer.java
Line 1601 in 355be1e
In this discussion we'd like to ask you if it'd be possible for the framework to log this kind of errors at the WARN or ERROR level, maybe filtering out exceptions that shouldn't create unnecessary noise. The fact that a ClassCastException was only logged at DEBUG level made it invisible for our monitoring systems and it delayed the process to diagnose the problem.
Beta Was this translation helpful? Give feedback.
All reactions