forked from I2P_Developers/i2p.i2p
log tweaks
This commit is contained in:
@ -1239,8 +1239,8 @@ class PeerCoordinator implements PeerListener
|
||||
}
|
||||
}
|
||||
}
|
||||
if (_log.shouldLog(Log.WARN) && !partialPieces.isEmpty())
|
||||
_log.warn("Peer " + peer + " has none of our partials " + partialPieces);
|
||||
if (_log.shouldLog(Log.INFO) && !partialPieces.isEmpty())
|
||||
_log.info("Peer " + peer + " has none of our partials " + partialPieces);
|
||||
}
|
||||
// ...and this section turns this into the general move-requests-around code!
|
||||
// Temporary? So PeerState never calls wantPiece() directly for now...
|
||||
|
@ -800,8 +800,8 @@ public class KRPC implements I2PSessionMuxedListener, DHT {
|
||||
// Lookup the dest for the hash
|
||||
// TODO spin off into thread or queue? We really don't want to block here
|
||||
if (!lookupDest(nInfo)) {
|
||||
if (_log.shouldLog(Log.WARN))
|
||||
_log.warn("Dropping repliable query, no dest for " + nInfo);
|
||||
if (_log.shouldLog(Log.INFO))
|
||||
_log.info("Dropping repliable query, no dest for " + nInfo);
|
||||
timeout(nInfo);
|
||||
return null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user