You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by fm...@apache.org on 2012/01/16 12:17:32 UTC
svn commit: r1231929 -
/sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceListener.java
Author: fmeschbe
Date: Mon Jan 16 11:17:31 2012
New Revision: 1231929
URL: http://svn.apache.org/viewvc?rev=1231929&view=rev
Log:
SLING-2366 Log missing resources at debug instead of error level. It looks like it might be expected that some resources are not visible for any one reason (ACL (although unexpected for an admin session), temporary node already removed again).
Modified:
sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceListener.java
Modified: sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceListener.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceListener.java?rev=1231929&r1=1231928&r2=1231929&view=diff
==============================================================================
--- sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceListener.java (original)
+++ sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceListener.java Mon Jan 16 11:17:31 2012
@@ -372,7 +372,9 @@ public class JcrResourceListener impleme
event.put(SlingConstants.PROPERTY_RESOURCE_SUPER_TYPE, resource.getResourceSuperType());
}
} else {
- logger.error(
+ // take a quite silent note of not being able to
+ // resolve the resource
+ logger.debug(
"processOsgiEventQueue: Resource at {} not found, which is not expected for an added or modified node",
path);
}