Skip to content

Commit

Permalink
removing debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrupp committed Dec 21, 2016
1 parent b3ba2de commit 1babf18
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,7 @@ public boolean getGlobal() {

public void updateProject(Map<ConfigTypes,String> newConfig){
for (Map.Entry<ConfigTypes, String> 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());
}
Expand All @@ -207,8 +206,7 @@ public static boolean isCDTProject(IProject p){
}

public static void updateGlobal(Map<ConfigTypes, String> newConfig) {
for (Map.Entry<ConfigTypes, String> entry : newConfig.entrySet()) {
System.out.println(configKeys.get(entry.getKey()) + ":" + entry.getValue());
for (Map.Entry<ConfigTypes, String> entry : newConfig.entrySet()) {
logger.log(Level.DEBUG, "updateGlobal(): " + configKeys.get(entry.getKey()) + ":" + entry.getValue());
globalPreferences.put(configKeys.get(entry.getKey()), entry.getValue());
}
Expand Down Expand Up @@ -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());
Expand Down

0 comments on commit 1babf18

Please sign in to comment.