mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-08 13:20:57 +00:00
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:
1 parent
b80c354174
commit
b098280f03
1 file changed
+8
-1
+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);
|
||||
|
||||
Reference in new issue
Block a user