incubator-aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r911238 - /incubator/aries/trunk/application/application-obr-resolver/src/main/java/org/apache/aries/application/resolver/obr/OBRAriesResolver.java
Date Thu, 18 Feb 2010 00:42:23 GMT
Author: djencks
Date: Thu Feb 18 00:42:23 2010
New Revision: 911238

URL: http://svn.apache.org/viewvc?rev=911238&view=rev
Log:
dumb example of slf4j logging

Modified:
    incubator/aries/trunk/application/application-obr-resolver/src/main/java/org/apache/aries/application/resolver/obr/OBRAriesResolver.java

Modified: incubator/aries/trunk/application/application-obr-resolver/src/main/java/org/apache/aries/application/resolver/obr/OBRAriesResolver.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/application-obr-resolver/src/main/java/org/apache/aries/application/resolver/obr/OBRAriesResolver.java?rev=911238&r1=911237&r2=911238&view=diff
==============================================================================
--- incubator/aries/trunk/application/application-obr-resolver/src/main/java/org/apache/aries/application/resolver/obr/OBRAriesResolver.java
(original)
+++ incubator/aries/trunk/application/application-obr-resolver/src/main/java/org/apache/aries/application/resolver/obr/OBRAriesResolver.java
Thu Feb 18 00:42:23 2010
@@ -40,12 +40,15 @@
 import org.osgi.service.obr.Requirement;
 import org.osgi.service.obr.Resolver;
 import org.osgi.service.obr.Resource;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /**
  * @version $Rev$ $Date$
  */
 public class OBRAriesResolver implements AriesApplicationResolver
 {
+  private static Logger log = LoggerFactory.getLogger(OBRAriesResolver.class);
 
   private final RepositoryAdmin repositoryAdmin;
 
@@ -56,6 +59,7 @@
 
   public Set<BundleInfo> resolve(AriesApplication app) throws ResolverException
   {
+    log.trace("resolving {}", app);
     Resolver obrResolver = repositoryAdmin.resolver();
     
     ApplicationMetadata appMeta = app.getApplicationMetadata();



Mime
View raw message