I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit d505a2fe authored by zzz's avatar zzz
Browse files

log level tweaks

parent 3eb57329
No related branches found
No related tags found
No related merge requests found
......@@ -378,8 +378,8 @@ public class ProfileOrganizer {
_log.info("selectFastPeers("+howMany+"), not enough fast (" + matches.size() + ") going on to highCap");
selectHighCapacityPeers(howMany, exclude, matches, mask);
} else {
if (_log.shouldLog(Log.INFO))
_log.info("selectFastPeers("+howMany+"), found enough fast (" + matches.size() + ")");
if (_log.shouldDebug())
_log.debug("selectFastPeers("+howMany+"), found enough fast (" + matches.size() + ")");
}
return;
}
......@@ -446,8 +446,8 @@ public class ProfileOrganizer {
_log.info("selectFastPeers("+howMany+"), not enough fast (" + matches.size() + ") going on to highCap");
selectHighCapacityPeers(howMany, exclude, matches, 2);
} else {
if (_log.shouldLog(Log.INFO))
_log.info("selectFastPeers("+howMany+"), found enough fast (" + matches.size() + ")");
if (_log.shouldDebug())
_log.debug("selectFastPeers("+howMany+"), found enough fast (" + matches.size() + ")");
}
return;
}
......@@ -483,8 +483,8 @@ public class ProfileOrganizer {
_log.info("selectHighCap("+howMany+"), not enough highcap (" + matches.size() + ") going on to ANFP2");
selectActiveNotFailingPeers2(howMany, exclude, matches, mask);
} else {
if (_log.shouldLog(Log.INFO))
_log.info("selectHighCap("+howMany+"), found enough highCap (" + matches.size() + ")");
if (_log.shouldDebug())
_log.debug("selectHighCap("+howMany+"), found enough highCap (" + matches.size() + ")");
}
return;
}
......@@ -517,8 +517,8 @@ public class ProfileOrganizer {
_log.info("selectWellIntegrated("+howMany+"), not enough integrated (" + matches.size() + ") going on to notFailing");
selectNotFailingPeers(howMany, exclude, matches, mask);
} else {
if (_log.shouldLog(Log.INFO))
_log.info("selectWellIntegrated("+howMany+"), found enough well integrated (" + matches.size() + ")");
if (_log.shouldDebug())
_log.debug("selectWellIntegrated("+howMany+"), found enough well integrated (" + matches.size() + ")");
}
return;
......@@ -620,8 +620,8 @@ public class ProfileOrganizer {
_log.info("selectANFP2("+howMany+"), not enough ANFP (" + matches.size() + ") going on to notFailing");
selectNotFailingPeers(howMany, exclude, matches, mask);
} else {
if (_log.shouldLog(Log.INFO))
_log.info("selectANFP2("+howMany+"), found enough ANFP (" + matches.size() + ")");
if (_log.shouldDebug())
_log.debug("selectANFP2("+howMany+"), found enough ANFP (" + matches.size() + ")");
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment