mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Reduce logging level of EventListenerMethodProcessor
Reduce logging level when no target annotation is found a on bean. For consistency, update ScheduledAnnotationBeanPostProcessor and JmsListenerAnnotationBeanPostProcessor that define the same log statement. Issue: SPR-12574
This commit is contained in:
+2
-2
@@ -208,8 +208,8 @@ public class JmsListenerAnnotationBeanPostProcessor
|
||||
});
|
||||
if (annotatedMethods.isEmpty()) {
|
||||
this.nonAnnotatedClasses.add(bean.getClass());
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("No @JmsListener annotations found on bean class: " + bean.getClass());
|
||||
if (logger.isTraceEnabled()) {
|
||||
logger.trace("No @JmsListener annotations found on bean class: " + bean.getClass());
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user