From 1babf186d02aea82e4699d767bc0c29eb4ed0676 Mon Sep 17 00:00:00 2001 From: Daniel Krupp Date: Wed, 21 Dec 2016 18:07:56 +0100 Subject: [PATCH] removing debug messages --- .../cc/codechecker/plugin/config/CcConfiguration.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/eclipse-plugin/eclipse/cc.codechecker.eclipse.plugin/src/cc/codechecker/plugin/config/CcConfiguration.java b/eclipse-plugin/eclipse/cc.codechecker.eclipse.plugin/src/cc/codechecker/plugin/config/CcConfiguration.java index 176c9eba..3a015f2f 100644 --- a/eclipse-plugin/eclipse/cc.codechecker.eclipse.plugin/src/cc/codechecker/plugin/config/CcConfiguration.java +++ b/eclipse-plugin/eclipse/cc.codechecker.eclipse.plugin/src/cc/codechecker/plugin/config/CcConfiguration.java @@ -183,8 +183,7 @@ public boolean getGlobal() { public void updateProject(Map newConfig){ for (Map.Entry entry : newConfig.entrySet()) - { - System.out.println(configKeys.get(entry.getKey()) + ":" + entry.getValue()); + { logger.log(Level.DEBUG, "updateProject(): " + configKeys.get(entry.getKey()) +":"+entry.getValue()); projectPreferences.put(configKeys.get(entry.getKey()), entry.getValue()); } @@ -207,8 +206,7 @@ public static boolean isCDTProject(IProject p){ } public static void updateGlobal(Map newConfig) { - for (Map.Entry entry : newConfig.entrySet()) { - System.out.println(configKeys.get(entry.getKey()) + ":" + entry.getValue()); + for (Map.Entry entry : newConfig.entrySet()) { logger.log(Level.DEBUG, "updateGlobal(): " + configKeys.get(entry.getKey()) + ":" + entry.getValue()); globalPreferences.put(configKeys.get(entry.getKey()), entry.getValue()); } @@ -284,8 +282,7 @@ public void updateServer(IProject project, CodecheckerServerThread server) { project.getName() + ": CodeChecker server listening on port: " + server.serverPort); } catch (Exception e) { - ConsoleFactory.consoleWrite(project.getName() + ": Failed to start server " + e.getStackTrace().toString()); - System.out.println("Failed to start server:"); + ConsoleFactory.consoleWrite(project.getName() + ": Failed to start server " + e.getStackTrace().toString()); e.printStackTrace(); logger.log(Level.ERROR, "SERVER_GUI_MSG >> " + e); logger.log(Level.DEBUG, "SERVER_GUI_MSG >> " + e.getStackTrace());