made the log less verbose for duck ;)

This commit is contained in:
jrandom
2004-08-13 01:27:55 +00:00
committed by zzz
parent a1c772c8d8
commit 348168d6c0

View File

@ -315,7 +315,9 @@ class TCPConnection implements I2NPMessageReader.I2NPMessageEventListener {
if (fail) {
if (_log.shouldLog(Log.ERROR))
_log.error("messages expired on the queue to " + _remoteIdentity.getHash().toBase64() + ": " + pending.toString());
_log.error("messages expired on the queue to " + _remoteIdentity.getHash().toBase64() + ": " + totalPending);
if (_log.shouldLog(Log.WARN))
_log.warn("messages expired on the queue to " + _remoteIdentity.getHash().toBase64() + ": " + pending.toString());
if (_out instanceof BandwidthLimitedOutputStream) {
BandwidthLimitedOutputStream o = (BandwidthLimitedOutputStream)_out;