Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
Used YaCy logging class instead of stdout
rramthun377fb0725018
diff --git a/htroot/ViewProfile.java b/htroot/ViewProfile.javaindex 86abf8cf4..1b7aadfb0 100644--- a/htroot/ViewProfile.java+++ b/htroot/ViewProfile.java@@ -76,12 +76,12 @@ public class ViewProfile {prop.put("success_peername", seed.getName());}} else {- prop.put("success","3"); // all ok+ prop.put("success","3"); // everything okHashMap profile = yacyClient.getProfile(seed);- System.out.println("fetched profile:" + profile);+ yacyCore.log.logInfo("fetched profile:" + profile);Iterator i = profile.entrySet().iterator();Map.Entry entry;- //all known Keys which should be set as they are+ //all known keys which should be set as they areVector knownKeys = new Vector();knownKeys.add("name");knownKeys.add("nickname");@@ -99,7 +99,7 @@ public class ViewProfile {prop.put("success_"+(String)it.next(), 0);}- //number of not explicitly recopgnized but displayed items+ //number of not explicitly recognized but displayed itemsint numUnknown=0;while (i.hasNext()) {entry = (Map.Entry) i.next();@@ -116,7 +116,7 @@ public class ViewProfile {}prop.put("success_"+key, 1);prop.put("success_"+key+"_value", value);- //This will display Unknown Items(of newer versions) as plaintext+ //This will display unknown items(of newer versions) as plaintext}else{//unknownprop.put("success_other_"+numUnknown+"_key", key);prop.put("success_other_"+numUnknown+"_value", value);