reverted the effects of commit ce4d2aaabb and instead use "fine" as log level instead of "info" for bundle life cycle messages

This commit is contained in:
Axel Uhl committed 2013-09-11 17:54:32 +02:00
1 parent b80c354174
commit b098280f03
1 file changed
+8 -1
@@ -36,7 +36,14 @@ public class ExtenderBundleTracker extends BundleTracker<Bundle> {
public void modifiedBundle(Bundle bundle, BundleEvent event, Bundle object) {
String symbolicName = bundle.getSymbolicName();
logger.info(symbolicName + " " + getBundleStateAsText(event));
if (event != null && event.getType() == BundleEvent.STOPPING) {
StackTraceElement[] stackTrace = Thread.currentThread().getStackTrace();
StringBuffer b = new StringBuffer();
for (StackTraceElement traceElement : stackTrace) {
b.append(traceElement.toString() + "\n");
}
logger.fine(b.toString());
}
String trackManifestEntry = (String) bundle.getHeaders().get("TrackLifecycle");
if (trackManifestEntry != null) {
trackLifecycle(bundle, event);