When a bean definition is overridden, detect whether the definition has changed and log accordingly [SPR-7607] #12263
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Dale Wyttenbach opened SPR-7607 and commented
In a large configuration the 'Overriding bean definition' log message may be generated hundreds of times.
These messages are all generated with log level INFO from DefaultListableBeanFactory.
When you have a lot of these messages, deciding which of them require your attention can be quite a chore.
It would be helpful if beanDefinition.equals(oldBeanDefinition) were checked, and in the case where they are not equal, a different, more insistent WARN-level log message were generated.
Affects: 3.0.4
Attachments:
Issue Links:
<import resource=... />
only once [SPR-1142] #5845 Load files in only onceReferenced from: commits e7dde74
2 votes, 6 watchers
The text was updated successfully, but these errors were encountered: