Skip to content

Improve log statement "not eligible for getting processed by all BeanPostProcessors" to be more informative [SPR-7524] #12182

@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions