Skip to content

Commit 7a9d583

Browse files
committed
Changed JSR-330 detection logging from info to debug
Issue: SPR-10974
1 parent 977c8c7 commit 7a9d583

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-context/src/main/java/org/springframework/context/annotation/ClassPathScanningCandidateComponentProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,15 +239,15 @@ protected void registerDefaultFilters() {
239239
try {
240240
this.includeFilters.add(new AnnotationTypeFilter(
241241
((Class<? extends Annotation>) cl.loadClass("javax.annotation.ManagedBean")), false));
242-
logger.info("JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning");
242+
logger.debug("JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning");
243243
}
244244
catch (ClassNotFoundException ex) {
245245
// JSR-250 1.1 API (as included in Java EE 6) not available - simply skip.
246246
}
247247
try {
248248
this.includeFilters.add(new AnnotationTypeFilter(
249249
((Class<? extends Annotation>) cl.loadClass("javax.inject.Named")), false));
250-
logger.info("JSR-330 'javax.inject.Named' annotation found and supported for component scanning");
250+
logger.debug("JSR-330 'javax.inject.Named' annotation found and supported for component scanning");
251251
}
252252
catch (ClassNotFoundException ex) {
253253
// JSR-330 API not available - simply skip.

0 commit comments

Comments
 (0)