forked from I2P_Developers/i2p.i2p
log tweaks
This commit is contained in:
@@ -561,8 +561,8 @@ public abstract class TransportImpl implements Transport {
|
||||
_wasUnreachableEntries.add(peer);
|
||||
else
|
||||
_wasUnreachableEntries.remove(peer);
|
||||
if (_log.shouldLog(Log.WARN))
|
||||
_log.warn(this.getStyle() + " setting wasUnreachable to " + yes + " for " + peer);
|
||||
if (_log.shouldLog(Log.INFO))
|
||||
_log.info(this.getStyle() + " setting wasUnreachable to " + yes + " for " + peer);
|
||||
}
|
||||
|
||||
public void setIP(Hash peer, byte[] ip) {
|
||||
|
||||
@@ -265,8 +265,8 @@ class PacketHandler {
|
||||
isValid = packet.validate(state.getNextMACKey());
|
||||
if (!isValid) {
|
||||
_state = 19;
|
||||
if (_log.shouldLog(Log.WARN))
|
||||
_log.warn("Failed validation with existing con, trying as new con: " + packet);
|
||||
if (_log.shouldLog(Log.INFO))
|
||||
_log.info("Failed validation with existing con, trying as new con: " + packet);
|
||||
|
||||
isValid = packet.validate(_transport.getIntroKey());
|
||||
if (isValid) {
|
||||
|
||||
Reference in New Issue
Block a user