2006-09-26 Complication

* Take back an accidental log level change
This commit is contained in:
complication
2006-09-27 04:31:34 +00:00
committed by zzz
parent 9325b806e4
commit 0a240a4436
2 changed files with 6 additions and 3 deletions

View File

@@ -996,8 +996,8 @@ public class NTCPConnection implements FIFOBandwidthLimiter.CompleteListener {
} else {
long newSkew = (ourTs - ts);
if (Math.abs(newSkew*1000) > Router.CLOCK_FUDGE_FACTOR) {
if (_log.shouldLog(Log.ERROR))
_log.error("Peer's skew jumped too far (from " + _clockSkew + " s to " + newSkew + " s): " + toString());
if (_log.shouldLog(Log.WARN))
_log.warn("Peer's skew jumped too far (from " + _clockSkew + " s to " + newSkew + " s): " + toString());
_context.statManager().addRateData("ntcp.corruptSkew", newSkew, getUptime());
close();
return;