Skip to content

Commit fce02d9

Browse files
committed
Changed JSR-330 detection logging from info to debug
Issue: SPR-10974 (cherry picked from commit 7a9d583)
1 parent 2dca5b6 commit fce02d9

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
@@ -228,15 +228,15 @@ protected void registerDefaultFilters() {
228228
try {
229229
this.includeFilters.add(new AnnotationTypeFilter(
230230
((Class<? extends Annotation>) cl.loadClass("javax.annotation.ManagedBean")), false));
231-
logger.info("JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning");
231+
logger.debug("JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning");
232232
}
233233
catch (ClassNotFoundException ex) {
234234
// JSR-250 1.1 API (as included in Java EE 6) not available - simply skip.
235235
}
236236
try {
237237
this.includeFilters.add(new AnnotationTypeFilter(
238238
((Class<? extends Annotation>) cl.loadClass("javax.inject.Named")), false));
239-
logger.info("JSR-330 'javax.inject.Named' annotation found and supported for component scanning");
239+
logger.debug("JSR-330 'javax.inject.Named' annotation found and supported for component scanning");
240240
}
241241
catch (ClassNotFoundException ex) {
242242
// JSR-330 API not available - simply skip.

0 commit comments

Comments
 (0)