incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r810003 - /sling/trunk/installer/jcr/jcrinstall/src/main/java/org/apache/sling/jcr/jcrinstall/impl/RootFolderListener.java
Date Tue, 01 Sep 2009 12:34:05 GMT
Author: bdelacretaz
Date: Tue Sep  1 12:34:05 2009
New Revision: 810003

URL: http://svn.apache.org/viewvc?rev=810003&view=rev
Log:
SLING-1078 - log watched root folders

Modified:
    sling/trunk/installer/jcr/jcrinstall/src/main/java/org/apache/sling/jcr/jcrinstall/impl/RootFolderListener.java

Modified: sling/trunk/installer/jcr/jcrinstall/src/main/java/org/apache/sling/jcr/jcrinstall/impl/RootFolderListener.java
URL: http://svn.apache.org/viewvc/sling/trunk/installer/jcr/jcrinstall/src/main/java/org/apache/sling/jcr/jcrinstall/impl/RootFolderListener.java?rev=810003&r1=810002&r2=810003&view=diff
==============================================================================
--- sling/trunk/installer/jcr/jcrinstall/src/main/java/org/apache/sling/jcr/jcrinstall/impl/RootFolderListener.java
(original)
+++ sling/trunk/installer/jcr/jcrinstall/src/main/java/org/apache/sling/jcr/jcrinstall/impl/RootFolderListener.java
Tue Sep  1 12:34:05 2009
@@ -49,8 +49,10 @@
         int eventTypes = Event.NODE_ADDED | Event.NODE_REMOVED;
         boolean isDeep = true;
         boolean noLocal = true;
-        session.getWorkspace().getObservationManager().addEventListener(this, eventTypes,
path,
+        session.getWorkspace().getObservationManager().addEventListener(this, eventTypes,
watchedPath,
                 isDeep, null, null, noLocal);
+        
+        log.info("Watching {} to detect potential changes in subfolders", watchedPath);
     }
     
     @Override



Mime
View raw message