incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r1404124 - /sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/tree/RootResourceProviderEntry.java
Date Wed, 31 Oct 2012 13:13:01 GMT
Author: bdelacretaz
Date: Wed Oct 31 13:13:01 2012
New Revision: 1404124

URL: http://svn.apache.org/viewvc?rev=1404124&view=rev
Log:
SLING-2640 - log current providers after bind/unbind

Modified:
    sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/tree/RootResourceProviderEntry.java

Modified: sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/tree/RootResourceProviderEntry.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/tree/RootResourceProviderEntry.java?rev=1404124&r1=1404123&r2=1404124&view=diff
==============================================================================
--- sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/tree/RootResourceProviderEntry.java
(original)
+++ sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/tree/RootResourceProviderEntry.java
Wed Oct 31 13:13:01 2012
@@ -392,7 +392,7 @@ public class RootResourceProviderEntry e
         if ( !foundRoot ) {
             logger.info("Ignoring ResourceProvider(Factory) {} : no configured roots.", provider.getName());
         }
-        logger.debug("bindResourceProvider: Bound {}", debugServiceName);
+        logger.debug("bindResourceProvider: Bound {}, current providers={}", debugServiceName,
Arrays.asList(getResourceProviders()) );
     }
 
     /**
@@ -422,7 +422,7 @@ public class RootResourceProviderEntry e
             }
         }
 
-        logger.debug("unbindResourceProvider: Unbound {}", debugServiceName);
+        logger.debug("unbindResourceProvider: Unbound {}, current providers={}", debugServiceName,
Arrays.asList(getResourceProviders()) );
     }
 
     private String getDebugServiceName(final ProviderHandler provider) {



Mime
View raw message