Skip to content

Improve/unify debug logging at BeanDefinitionReader and BeanFactory level [SPR-17090] #21627

@spring-projects-issues

Description

@spring-projects-issues

Marten Deinum opened SPR-17090 and commented

There are several implementations of the BeanDefinitionReader interface (as well as the ConfigurationClassBeanDefinitionReader. Each of them has some sort of DEBUG/TRACE logging however each does log different things. 

Some do log the resource read (properties based), others don't. Others do log the number of bean definitions read (groovy) others don't. Would be nice if the messages from the different implementations would be unified somehow. Like at least that each reader shows the resource being read and number of beans for instance and also on a consistent level. 

 

This relates to the more general ticket #21485 regarding improving logging. 


Affects: 4.3.18, 5.0.7

Issue Links:

Referenced from: commits f13f041, c037e75

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