Remove DEBUG logging which may fill the log and move fields to the front
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@666009 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scr/src/main/java/org/apache/felix/scr/impl/AbstractComponentManager.java b/scr/src/main/java/org/apache/felix/scr/impl/AbstractComponentManager.java
index 1431d4c..214f474 100644
--- a/scr/src/main/java/org/apache/felix/scr/impl/AbstractComponentManager.java
+++ b/scr/src/main/java/org/apache/felix/scr/impl/AbstractComponentManager.java
@@ -53,6 +53,11 @@
// The ServiceRegistration
private ServiceRegistration m_serviceRegistration;
+ // lock object used by service registration locking
+ private Object serviceRegistrationLock = new Object();
+
+ // the field set to the owner of the lock
+ private Thread serviceRegistrationLockOwner;
/**
* The constructor receives both the activator and the metadata
@@ -744,12 +749,6 @@
// the service.
// See FELIX-550 for more information.
- // lock object used by service registration locking
- private Object serviceRegistrationLock = new Object();
-
- // the field set to the owner of the lock
- private Thread serviceRegistrationLockOwner;
-
// locks service registration by waiting for the registration to not
// be locked and then locking it
@@ -788,9 +787,6 @@
}
serviceRegistrationLockOwner = Thread.currentThread();
-
- log( LogService.LOG_DEBUG, "Service Registration acquired by " + serviceRegistrationLockOwner,
- m_componentMetadata, null );
}
}
@@ -804,9 +800,6 @@
Thread current = Thread.currentThread();
if ( serviceRegistrationLockOwner == current )
{
- log( LogService.LOG_DEBUG, "Service Registration released by " + serviceRegistrationLockOwner,
- m_componentMetadata, null );
-
serviceRegistrationLockOwner = null;
// notify threads waiting to lock service registration