From c83aec97dd3aae0a73ab0b26292d1f175fdbdeac Mon Sep 17 00:00:00 2001 From: Mathieu Baudier Date: Sat, 14 Feb 2015 13:30:00 +0000 Subject: [PATCH] Clean up code git-svn-id: https://svn.argeo.org/commons/trunk@7866 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc --- .../org/argeo/eclipse/ui/workbench/WorkbenchUiPlugin.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/org.argeo.eclipse.ui.workbench/src/org/argeo/eclipse/ui/workbench/WorkbenchUiPlugin.java b/org.argeo.eclipse.ui.workbench/src/org/argeo/eclipse/ui/workbench/WorkbenchUiPlugin.java index 988abc947..6fd8e5d3b 100644 --- a/org.argeo.eclipse.ui.workbench/src/org/argeo/eclipse/ui/workbench/WorkbenchUiPlugin.java +++ b/org.argeo.eclipse.ui.workbench/src/org/argeo/eclipse/ui/workbench/WorkbenchUiPlugin.java @@ -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); -- 2.30.2