Clean up code
authorMathieu Baudier <mbaudier@argeo.org>
Sat, 14 Feb 2015 13:30:00 +0000 (13:30 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Sat, 14 Feb 2015 13:30:00 +0000 (13:30 +0000)
git-svn-id: https://svn.argeo.org/commons/trunk@7866 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

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);