Clean up code
[lgpl/argeo-commons.git] / org.argeo.eclipse.ui.workbench / src / org / argeo / eclipse / ui / workbench / WorkbenchUiPlugin.java
index 988abc947579a40cdf339b691dd14a4adebf6b4e..6fd8e5d3b995488294c00d4e84f8349c1197bf7d 100644 (file)
@@ -50,14 +50,15 @@ public class WorkbenchUiPlugin extends AbstractUIPlugin implements ILogListener
                plugin = this;
                messages = ResourceBundle.getBundle(ID + ".messages");
                Platform.addLogListener(this);
-               if (log.isDebugEnabled())
-                       log.debug("Eclipse logging now directed to standard logging");
+               if (log.isTraceEnabled())
+                       log.trace("Eclipse logging now directed to standard logging");
        }
 
        public void stop(BundleContext context) throws Exception {
                try {
                        Platform.removeLogListener(this);
-                       log.debug("Eclipse logging not directed anymore to standard logging");
+                       if (log.isTraceEnabled())
+                               log.trace("Eclipse logging not directed anymore to standard logging");
                        plugin = null;
                } finally {
                        super.stop(context);