public void start(BundleContext context) throws Exception {
_frameworkLogTracker = new ServiceTracker(context, FrameworkLog.class.getName(), null);
_frameworkLogTracker.open();
Policy.setLog(new ILogger() {
public void log(IStatus status) {
ServiceTracker frameworkLogTracker = _frameworkLogTracker;
FrameworkLog log = frameworkLogTracker == null ? null : (FrameworkLog) frameworkLogTracker.getService();
if (log != null) {