From 7a9d58375ff3545c1212bc2325c6874e459c5310 Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Mon, 14 Oct 2013 23:24:25 +0200 Subject: [PATCH] Changed JSR-330 detection logging from info to debug Issue: SPR-10974 --- .../ClassPathScanningCandidateComponentProvider.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-context/src/main/java/org/springframework/context/annotation/ClassPathScanningCandidateComponentProvider.java b/spring-context/src/main/java/org/springframework/context/annotation/ClassPathScanningCandidateComponentProvider.java index 9283f14f5d2..c8c0dc15b65 100644 --- a/spring-context/src/main/java/org/springframework/context/annotation/ClassPathScanningCandidateComponentProvider.java +++ b/spring-context/src/main/java/org/springframework/context/annotation/ClassPathScanningCandidateComponentProvider.java @@ -239,7 +239,7 @@ public class ClassPathScanningCandidateComponentProvider implements EnvironmentC try { this.includeFilters.add(new AnnotationTypeFilter( ((Class) cl.loadClass("javax.annotation.ManagedBean")), false)); - logger.info("JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning"); + logger.debug("JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning"); } catch (ClassNotFoundException ex) { // JSR-250 1.1 API (as included in Java EE 6) not available - simply skip. @@ -247,7 +247,7 @@ public class ClassPathScanningCandidateComponentProvider implements EnvironmentC try { this.includeFilters.add(new AnnotationTypeFilter( ((Class) cl.loadClass("javax.inject.Named")), false)); - logger.info("JSR-330 'javax.inject.Named' annotation found and supported for component scanning"); + logger.debug("JSR-330 'javax.inject.Named' annotation found and supported for component scanning"); } catch (ClassNotFoundException ex) { // JSR-330 API not available - simply skip.