Improve log statement "not eligible for getting processed by all BeanPostProcessors" to be more informative [SPR-7524] #12182
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Arik Kfir opened SPR-7524 and commented
During construction of an application context, some beans are not eligible for being processed by all BeanPostProcessor, for various legitimate reasons. The log statement emitted when that happens for inner beans is "Bean '(inner bean)' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)"
The problem is that since these beans are not named, one has no way to know where to find them. It would be useful to append the bean source location to said log statement.
Referenced from: commits 479b4c1
The text was updated successfully, but these errors were encountered: