You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ss...@apache.org on 2022/01/20 17:18:24 UTC
[sling-org-apache-sling-models-caconfig] branch master updated: SLING-11079 models-caconfig: Lower log level to debug for message "Injection only supported using @ContextAwareConfiguration annotation"
This is an automated email from the ASF dual-hosted git repository.
sseifert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-models-caconfig.git
The following commit(s) were added to refs/heads/master by this push:
new 7f3e680 SLING-11079 models-caconfig: Lower log level to debug for message "Injection only supported using @ContextAwareConfiguration annotation"
7f3e680 is described below
commit 7f3e680ed66c883eace8a42564a6356469f4531e
Author: Stefan Seifert <st...@users.noreply.github.com>
AuthorDate: Thu Jan 20 18:18:13 2022 +0100
SLING-11079 models-caconfig: Lower log level to debug for message "Injection only supported using @ContextAwareConfiguration annotation"
---
.../caconfig/impl/injectors/ContextAwareConfigurationInjector.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/sling/models/caconfig/impl/injectors/ContextAwareConfigurationInjector.java b/src/main/java/org/apache/sling/models/caconfig/impl/injectors/ContextAwareConfigurationInjector.java
index ff28cbf..73aaca0 100644
--- a/src/main/java/org/apache/sling/models/caconfig/impl/injectors/ContextAwareConfigurationInjector.java
+++ b/src/main/java/org/apache/sling/models/caconfig/impl/injectors/ContextAwareConfigurationInjector.java
@@ -82,7 +82,7 @@ public class ContextAwareConfigurationInjector implements Injector, StaticInject
ContextAwareConfiguration annotation = getAnnotation(element);
if (annotation == null) {
// support injections only with explicit @ContextAwareConfiguration annotation
- log.warn("Injection only supported using @ContextAwareConfiguration annotation.");
+ log.debug("Injection only supported using @ContextAwareConfiguration annotation.");
return null;
}