Skip to content

Add DEBUG/INFO logging in AbstractBeanFactory.registerScope() [SPR-12519] #17124

@spring-projects-issues

Description

@spring-projects-issues

Hendy Irawan opened SPR-12519 and commented

To aid debugging CustomScopeConfigurer issues like spring-projects/spring-boot#2082 and similar, it'd be helpful to add logging as follows:

  1. DEBUG when a non-existing scope is registered, e.g. Registering scope "[scopeName]" using [scope.getClass().getName()] to [beanFactory]
  2. INFO when an existing scope is replaced, e.g. Replacing scope "[scopeName]" ([originalScope.getClass().getName()]) with [scope.getClass().getName()] to [beanFactory]

Affects: 4.1.2

Reference URL: spring-projects/spring-boot#2082

Referenced from: commits 6d6cd56

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