Author: toad
Date: 2008-02-28 18:08:31 +0000 (Thu, 28 Feb 2008)
New Revision: 18212
Modified:
trunk/freenet/src/freenet/io/xfer/PacketThrottle.java
Log:
Logging
Modified: trunk/freenet/src/freenet/io/xfer/PacketThrottle.java
===================================================================
--- trunk/freenet/src/freenet/io/xfer/PacketThrottle.java 2008-02-28
17:59:31 UTC (rev 18211)
+++ trunk/freenet/src/freenet/io/xfer/PacketThrottle.java 2008-02-28
18:08:31 UTC (rev 18212)
@@ -105,7 +105,7 @@
// We haven't used the full window once since we last
checked.
_simulatedWindowSize *= PACKET_DROP_DECREASE_MULTIPLE;
_packetSeqWindowFullChecked += windowSize;
- if(logMINOR) Logger.minor(this, "Window not used since we last
checked: full="+_packetSeqWindowFull+" last
checked="+_packetSeqWindowFullChecked+" window = "+_simulatedWindowSize);
+ if(logMINOR) Logger.minor(this, "Window not used since we last
checked: full="+_packetSeqWindowFull+" last
checked="+_packetSeqWindowFullChecked+" window = "+_simulatedWindowSize+" for
"+this);
return;
}
_packetSeqWindowFullChecked += windowSize;
@@ -167,12 +167,12 @@
_packetSeq++;
if(windowSize == _packetsInFlight) {
_packetSeqWindowFull =
_packetSeq;
- if(logMINOR) Logger.minor(this,
"Window full at "+_packetSeq);
+ if(logMINOR) Logger.minor(this,
"Window full at "+_packetSeq+" for "+this);
}
- if(logMINOR) Logger.minor(this,
"Sending, window size now "+windowSize+" packets in flight "+_packetsInFlight);
+ if(logMINOR) Logger.minor(this,
"Sending, window size now "+windowSize+" packets in flight "+_packetsInFlight+"
for "+this);
break;
}
- if(logMINOR) Logger.minor(this, "Window size:
"+windowSize+" packets in flight "+_packetsInFlight);
+ if(logMINOR) Logger.minor(this, "Window size:
"+windowSize+" packets in flight "+_packetsInFlight+" for "+this);
try {
wait();
} catch (InterruptedException e) {