felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r1548022 - in /felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager: ComponentFactoryImpl.java DependencyManager.java ServiceFactoryComponentManager.java
Date Thu, 05 Dec 2013 06:30:32 GMT
Author: djencks
Date: Thu Dec  5 06:30:31 2013
New Revision: 1548022

URL: http://svn.apache.org/r1548022
Log:
FELIX-4343 reduce some log levels

Modified:
    felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/ComponentFactoryImpl.java
    felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/DependencyManager.java
    felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/ServiceFactoryComponentManager.java

Modified: felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/ComponentFactoryImpl.java
URL: http://svn.apache.org/viewvc/felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/ComponentFactoryImpl.java?rev=1548022&r1=1548021&r2=1548022&view=diff
==============================================================================
--- felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/ComponentFactoryImpl.java
(original)
+++ felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/ComponentFactoryImpl.java
Thu Dec  5 06:30:31 2013
@@ -350,7 +350,7 @@ public class ComponentFactoryImpl<S> ext
         }
         if ( pid.equals( getComponentMetadata().getConfigurationPid() ) )
         {
-            log( LogService.LOG_INFO, "Configuration PID updated for Component Factory",
null );
+            log( LogService.LOG_DEBUG, "Configuration PID updated for Component Factory",
null );
 
             // Ignore the configuration if our policy is 'ignore'
             if ( getComponentMetadata().isConfigurationIgnored() )
@@ -364,14 +364,14 @@ public class ComponentFactoryImpl<S> ext
             // We are now configured from config admin.
             m_hasConfiguration = true;
 
-            log( LogService.LOG_INFO, "Current ComponentFactory state={0}", new Object[]
+            log( LogService.LOG_DEBUG, "Current ComponentFactory state={0}", new Object[]
                     {getState()}, null );
 
             // If we are active, but if some config target filters don't match anymore
             // any required references, then deactivate.
             if ( getState() == STATE_FACTORY )
             {
-                log( LogService.LOG_INFO, "Verifying if Active Component Factory is still
satisfied", null );
+                log( LogService.LOG_DEBUG, "Verifying if Active Component Factory is still
satisfied", null );
 
                 // First update target filters.
                 updateTargets( getProperties() );

Modified: felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/DependencyManager.java
URL: http://svn.apache.org/viewvc/felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/DependencyManager.java?rev=1548022&r1=1548021&r2=1548022&view=diff
==============================================================================
--- felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/DependencyManager.java
(original)
+++ felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/DependencyManager.java
Thu Dec  5 06:30:31 2013
@@ -1862,7 +1862,7 @@ public class DependencyManager<S, T> imp
 
         m_customizer.setPreviousRefMap( refMap );
         boolean initialActive = oldTracker != null && oldTracker.isActive();
-        m_componentManager.log( LogService.LOG_INFO, "New service tracker for {0}, initial
active: {1}, previous references: {2}", new Object[]
+        m_componentManager.log( LogService.LOG_DEBUG, "New service tracker for {0}, initial
active: {1}, previous references: {2}", new Object[]
                 {getName(), initialActive, refMap}, null );
         ServiceTracker<T, RefPair<T>> tracker = new ServiceTracker<T, RefPair<T>>(
bundleContext, m_targetFilter, m_customizer, initialActive );
         m_customizer.setTracker( tracker );

Modified: felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/ServiceFactoryComponentManager.java
URL: http://svn.apache.org/viewvc/felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/ServiceFactoryComponentManager.java?rev=1548022&r1=1548021&r2=1548022&view=diff
==============================================================================
--- felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/ServiceFactoryComponentManager.java
(original)
+++ felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/ServiceFactoryComponentManager.java
Thu Dec  5 06:30:31 2013
@@ -116,16 +116,14 @@ public class ServiceFactoryComponentMana
         {
             if ( !collectDependencies() )
             {
-                log(
-                        LogService.LOG_INFO,
+                log( LogService.LOG_DEBUG,
                         "getService (ServiceFactory) did not win collecting dependencies,
try creating object anyway.",
                         null );
 
             }
             else
             {
-                log(
-                        LogService.LOG_DEBUG,
+                log( LogService.LOG_DEBUG,
                         "getService (ServiceFactory) won collecting dependencies, proceed
to creating object.",
                         null );
 



Mime
View raw message