log tweaks

This commit is contained in:
zzz
2011-07-09 23:09:55 +00:00
parent dccdb99632
commit 4fd1800944
2 changed files with 4 additions and 4 deletions

View File

@@ -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) {

View File

@@ -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) {