Skip to content

Fix log message in ConfigurationClassBeanDefinitionReader #36453

Closed

Description

@sbrannen

The following log message uses the beanName instead of the methodName when generating the fully-qualified method name; however, the beanName might be sourced from @Bean(name = ...) (or a registered ConfigurationBeanNameGenerator beginning with Spring Framework 7.0).

if (logger.isTraceEnabled()) {
logger.trace("Registering bean definition for @Bean method %s.%s()"
.formatted(configClass.getMetadata().getClassName(), beanName));
}

Activity

  1. added this to the 7.0.6 milestone on Mar 12, 2026
  2. self-assigned this
    on Mar 12, 2026
  3. added
    in: core
    type: enhancement
    on Mar 12, 2026
  4. added 2 commits that reference this issue on Mar 12, 2026
    e634ced
    47dc1c4
  5. added
    status: backported
    on Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: corestatus: backportedtype: enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions