package de.uni_jena.iaa.linktype.atomic;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;

public class Activator implements BundleActivator {

	private static BundleContext context;
	
	private static Logger log = LogManager.getLogger(Activator.class);

	static BundleContext getContext() {
		return context;
	}

	/*
	 * (non-Javadoc)
	 * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
	 */
	public void start(BundleContext bundleContext) throws Exception {
		Activator.context = bundleContext;
		log.info("Starting Atomic.");
	}

	/*
	 * (non-Javadoc)
	 * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
	 */
	public void stop(BundleContext bundleContext) throws Exception {
		log.info("Stopping Atomic.");
		Activator.context = null;
	}

}

@@ -643,28 +643,29 @@
 text;%0A%09%09log.
-info
+trace
 (%22Starting A
@@ -659,32 +659,72 @@
 e(%22Starting 
-Atomic.%22
+bundle %22 + context.getBundle().getSymbolicName()
 );%0A%09%7D%0A%0A%09/*%0A%09
@@ -904,12 +904,13 @@
 log.
-info
+trace
 (%22St
@@ -920,16 +920,56 @@
 ing 
-Atomic.%22
+bundle %22 + context.getBundle().getSymbolicName()
 );%0A%09

Use trace logging levels in Activator