felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r1424322 - /felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/DependencyManager.java
Date Thu, 20 Dec 2012 04:53:59 GMT
Author: djencks
Date: Thu Dec 20 04:53:59 2012
New Revision: 1424322

URL: http://svn.apache.org/viewvc?rev=1424322&view=rev
Log:
FELIX-3729 clean up excessive logging

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

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=1424322&r1=1424321&r2=1424322&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 20 04:53:59 2012
@@ -316,7 +316,6 @@ public class DependencyManager<S, T> imp
 
         public void addedService( ServiceReference<T> serviceReference, RefPair<T>
refPair, int trackingCount )
         {
-            m_componentManager.log( LogService.LOG_DEBUG, "dm {0} tracking {1} MultipleDynamic
added {2}", new Object[] {m_dependencyMetadata.getName(), trackingCount, serviceReference},
null );
             if ( getPreviousRefMap().remove( serviceReference ) == null )
             {
                 if (isActive())
@@ -340,7 +339,6 @@ public class DependencyManager<S, T> imp
 
         public void modifiedService( ServiceReference<T> serviceReference, RefPair<T>
refPair, int trackingCount )
         {
-            m_componentManager.log( LogService.LOG_DEBUG, "dm {0} tracking {1} MultipleDynamic
modified {2}", new Object[] {m_dependencyMetadata.getName(), trackingCount, serviceReference},
null );
             if (isActive())
             {
                 m_componentManager.update( DependencyManager.this, refPair, trackingCount
);
@@ -351,7 +349,6 @@ public class DependencyManager<S, T> imp
 
         public void removedService( ServiceReference<T> serviceReference, RefPair<T>
refPair, int trackingCount )
         {
-            m_componentManager.log( LogService.LOG_DEBUG, "dm {0} tracking {1} MultipleDynamic
removed (unbind) {2}", new Object[] {m_dependencyMetadata.getName(), trackingCount, serviceReference},
null );
             if ( isActive() )
             {
                 boolean unbind = isOptional() || !getTracker().isEmpty();
@@ -373,6 +370,7 @@ public class DependencyManager<S, T> imp
             }
             else
             {
+                m_componentManager.log( LogService.LOG_DEBUG, "dm {0} tracking {1} MultipleDynamic
removed (inactive) {2}", new Object[] {m_dependencyMetadata.getName(), trackingCount, serviceReference},
null );
                 tracked( trackingCount );
             }
             ungetService( refPair );
@@ -440,7 +438,6 @@ public class DependencyManager<S, T> imp
 
         public void addedService( ServiceReference<T> serviceReference, RefPair<T>
refPair, int trackingCount )
         {
-            m_componentManager.log( LogService.LOG_DEBUG, "dm {0} tracking {1} MultipleStaticGreedy
added {2}", new Object[] {m_dependencyMetadata.getName(), trackingCount, serviceReference},
null );
             tracked( trackingCount );
             if (isActive())
             {
@@ -460,7 +457,6 @@ public class DependencyManager<S, T> imp
 
         public void modifiedService( ServiceReference<T> serviceReference, RefPair<T>
refPair, int trackingCount )
         {
-            m_componentManager.log( LogService.LOG_DEBUG, "dm {0} tracking {1} MultipleStaticGreedy
modified {2}", new Object[] {m_dependencyMetadata.getName(), trackingCount, serviceReference},
null );
             if (isActive())
             {
                 m_componentManager.update( DependencyManager.this, refPair, trackingCount
);
@@ -471,7 +467,6 @@ public class DependencyManager<S, T> imp
 
         public void removedService( ServiceReference<T> serviceReference, RefPair<T>
refPair, int trackingCount )
         {
-            m_componentManager.log( LogService.LOG_DEBUG, "dm {0} tracking {1} MultipleStaticGreedy
removed {2}", new Object[] {m_dependencyMetadata.getName(), trackingCount, serviceReference},
null );
             tracked( trackingCount );
             if ( isActive() )
             {
@@ -532,7 +527,6 @@ public class DependencyManager<S, T> imp
 
         public void addedService( ServiceReference<T> serviceReference, RefPair<T>
refPair, int trackingCount )
         {
-            m_componentManager.log( LogService.LOG_DEBUG, "dm {0} tracking {1} MultipleStaticReluctant
added {2}", new Object[] {m_dependencyMetadata.getName(), trackingCount, serviceReference},
null );
             if ( isTrackerOpened() && !isOptional() && !isActive())
             {
                 m_componentManager.activateInternal( trackingCount );
@@ -543,7 +537,6 @@ public class DependencyManager<S, T> imp
 
         public void modifiedService( ServiceReference<T> serviceReference, RefPair<T>
refPair, int trackingCount )
         {
-            m_componentManager.log( LogService.LOG_DEBUG, "dm {0} tracking {1} MultipleStaticReluctant
modified {2}", new Object[] {m_dependencyMetadata.getName(), trackingCount, serviceReference},
null );
             if (isActive())
             {
                 m_componentManager.update( DependencyManager.this, refPair, trackingCount
);
@@ -554,7 +547,6 @@ public class DependencyManager<S, T> imp
 
         public void removedService( ServiceReference<T> serviceReference, RefPair<T>
refPair, int trackingCount )
         {
-            m_componentManager.log( LogService.LOG_DEBUG, "dm {0} tracking {1} MultipleStaticReluctant
removed {2}", new Object[] {m_dependencyMetadata.getName(), trackingCount, serviceReference},
null );
             tracked( trackingCount );
             if ( isActive() )
             {
@@ -627,7 +619,6 @@ public class DependencyManager<S, T> imp
 
         public void addedService( ServiceReference<T> serviceReference, RefPair<T>
refPair, int trackingCount )
         {
-            m_componentManager.log( LogService.LOG_DEBUG, "dm {0} tracking {1} SingleDynamic
added {2}", new Object[] {m_dependencyMetadata.getName(), trackingCount, serviceReference},
null );
             if ( getPreviousRefMap().get( serviceReference ) == null )
             {
                 if (isActive() )
@@ -666,7 +657,6 @@ public class DependencyManager<S, T> imp
 
         public void modifiedService( ServiceReference<T> serviceReference, RefPair<T>
refPair, int trackingCount )
         {
-            m_componentManager.log( LogService.LOG_DEBUG, "dm {0} tracking {1} SingleDynamic
modified {2}", new Object[] {m_dependencyMetadata.getName(), trackingCount, serviceReference},
null );
             if (isActive())
             {
                 m_componentManager.update( DependencyManager.this, refPair, trackingCount
);
@@ -678,7 +668,6 @@ public class DependencyManager<S, T> imp
 
         public void removedService( ServiceReference<T> serviceReference, RefPair<T>
refPair, int trackingCount )
         {
-            m_componentManager.log( LogService.LOG_DEBUG, "dm {0} tracking {1} SingleDynamic
removed {2}", new Object[] {m_dependencyMetadata.getName(), trackingCount, serviceReference},
null );
             if (refPair == this.refPair)
             {
                 if ( isActive() )
@@ -793,7 +782,6 @@ public class DependencyManager<S, T> imp
 
         public void addedService( ServiceReference<T> serviceReference, RefPair<T>
refPair, int trackingCount )
         {
-            m_componentManager.log( LogService.LOG_DEBUG, "dm {0} tracking {1} SingleStatic
added {2}", new Object[] {m_dependencyMetadata.getName(), trackingCount, serviceReference},
null );
             if ( isActive() )
             {
                 if ( !isReluctant() && ( this.refPair == null || refPair.getRef().compareTo(
this.refPair.getRef() ) > 0 ) )
@@ -826,7 +814,6 @@ public class DependencyManager<S, T> imp
 
         public void modifiedService( ServiceReference<T> serviceReference, RefPair<T>
refPair, int trackingCount )
         {
-            m_componentManager.log( LogService.LOG_DEBUG, "dm {0} tracking {1} SingleStatic
modified {2}", new Object[] {m_dependencyMetadata.getName(), trackingCount, serviceReference},
null );
             if ( isActive() )
             {
                 m_componentManager.update( DependencyManager.this, refPair, trackingCount
);
@@ -839,7 +826,6 @@ public class DependencyManager<S, T> imp
         public void removedService( ServiceReference<T> serviceReference, RefPair<T>
refPair, int trackingCount )
         {
             this.trackingCount = trackingCount;
-            m_componentManager.log( LogService.LOG_DEBUG, "dm {0} tracking {1} SingleStatic
removed {2}", new Object[] {m_dependencyMetadata.getName(), trackingCount, serviceReference},
null );
             tracked( trackingCount );
             if ( isActive() && refPair == this.refPair )
             {



Mime
View raw message