Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.m2e.logback.configuration/src/org/eclipse/m2e/logback/configuration/LogPlugin.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.m2e.logback.configuration/src/org/eclipse/m2e/logback/configuration/LogPlugin.java b/org.eclipse.m2e.logback.configuration/src/org/eclipse/m2e/logback/configuration/LogPlugin.java
index 22cda69c..5ca34831 100644
--- a/org.eclipse.m2e.logback.configuration/src/org/eclipse/m2e/logback/configuration/LogPlugin.java
+++ b/org.eclipse.m2e.logback.configuration/src/org/eclipse/m2e/logback/configuration/LogPlugin.java
@@ -100,7 +100,9 @@ public class LogPlugin extends Plugin {
}
private static void systemOut(String message) {
- System.out.println(PLUGIN_ID + ": " + message); //$NON-NLS-1$
+ if("true".equals(FrameworkProperties.getProperty(EclipseStarter.PROP_CONSOLE_LOG))) {
+ System.out.println(PLUGIN_ID + ": " + message); //$NON-NLS-1$
+ }
}
private static void systemErr(String message) {

Back to the top