sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject svn commit: r1698273 - /sling/trunk/bundles/extensions/validation/core/src/main/java/org/apache/sling/validation/impl/resourcemodel/ResourceValidationModelProviderImpl.java
Date Fri, 28 Aug 2015 07:49:34 GMT
Author: kwin
Date: Fri Aug 28 07:49:34 2015
New Revision: 1698273

URL: http://svn.apache.org/r1698273
Log:
use correct logging category, reduce log level for found validation models

Modified:
    sling/trunk/bundles/extensions/validation/core/src/main/java/org/apache/sling/validation/impl/resourcemodel/ResourceValidationModelProviderImpl.java

Modified: sling/trunk/bundles/extensions/validation/core/src/main/java/org/apache/sling/validation/impl/resourcemodel/ResourceValidationModelProviderImpl.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/validation/core/src/main/java/org/apache/sling/validation/impl/resourcemodel/ResourceValidationModelProviderImpl.java?rev=1698273&r1=1698272&r2=1698273&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/validation/core/src/main/java/org/apache/sling/validation/impl/resourcemodel/ResourceValidationModelProviderImpl.java
(original)
+++ sling/trunk/bundles/extensions/validation/core/src/main/java/org/apache/sling/validation/impl/resourcemodel/ResourceValidationModelProviderImpl.java
Fri Aug 28 07:49:34 2015
@@ -45,7 +45,6 @@ import org.apache.sling.commons.threads.
 import org.apache.sling.commons.threads.ThreadPoolManager;
 import org.apache.sling.validation.Validator;
 import org.apache.sling.validation.impl.Constants;
-import org.apache.sling.validation.impl.ValidationModelRetrieverImpl;
 import org.apache.sling.validation.impl.model.ChildResourceImpl;
 import org.apache.sling.validation.impl.model.ParameterizedValidatorImpl;
 import org.apache.sling.validation.impl.model.ResourcePropertyImpl;
@@ -80,7 +79,7 @@ public class ResourceValidationModelProv
     @Reference
     private ValidationModelCache cache;
 
-    private static final Logger LOG = LoggerFactory.getLogger(ValidationModelRetrieverImpl.class);
+    private static final Logger LOG = LoggerFactory.getLogger(ResourceValidationModelProviderImpl.class);
 
     @Reference
     private ThreadPoolManager tpm = null;
@@ -190,7 +189,7 @@ public class ResourceValidationModelProv
             Iterator<Resource> models = resourceResolver.findResources(queryString,
"xpath");
             while (models.hasNext()) {
                 Resource model = models.next();
-                LOG.info("Found validation model resource {}.", model.getPath());
+                LOG.debug("Found validation model resource {}.", model.getPath());
                 String jcrPath = model.getPath();
                 try {
                     ValueMap validationModelProperties = model.adaptTo(ValueMap.class);



Mime
View raw message