Author: nextgens
Date: 2008-07-16 17:00:28 +0000 (Wed, 16 Jul 2008)
New Revision: 21147

Modified:
   trunk/freenet/src/freenet/node/NodeIPDetector.java
Log:
logging

Modified: trunk/freenet/src/freenet/node/NodeIPDetector.java
===================================================================
--- trunk/freenet/src/freenet/node/NodeIPDetector.java  2008-07-16 13:20:29 UTC 
(rev 21146)
+++ trunk/freenet/src/freenet/node/NodeIPDetector.java  2008-07-16 17:00:28 UTC 
(rev 21147)
@@ -232,7 +232,7 @@
                                while(it.hasNext()) {
                                        FreenetInetAddress cur = 
(FreenetInetAddress) (it.next());
                                        int curPop = ((Integer) 
(countsByPeer.get(cur))).intValue();
-                                       Logger.normal(this, "Detected peer: 
"+cur+" popularity "+curPop);
+                                       Logger.minor(this, "Detected peer: 
"+cur+" popularity "+curPop);
                                        if(curPop >= bestPopularity) {
                                                secondBestPopularity = 
bestPopularity;
                                                bestPopularity = curPop;
@@ -243,14 +243,14 @@
                                if(best != null) {
                                        if((bestPopularity > 1) || 
(detectedAddrs.length == 0)) {
                                                if(!addresses.contains(best)) {
-                                                       Logger.normal(this, 
"Adding best peer "+best+" ("+bestPopularity+ ')');
+                                                       Logger.minor(this, 
"Adding best peer "+best+" ("+bestPopularity+ ')');
                                                        addresses.add(best);
                                                        
if(best.isRealInternetAddress(false, false, false))
                                                                addedValidIP = 
true;
                                                }
                                                if((secondBest != null) && 
(secondBestPopularity > 1)) {
                                                        
if(!addresses.contains(secondBest)) {
-                                                               
Logger.normal(this, "Adding second best peer "+secondBest+" ("+secondBest+ ')');
+                                                               
Logger.minor(this, "Adding second best peer "+secondBest+" ("+secondBest+ ')');
                                                                
addresses.add(secondBest);
                                                                
if(secondBest.isRealInternetAddress(false, false, false))
                                                                        
addedValidIP = true;


Reply via email to