Author: toad
Date: 2008-06-28 18:18:05 +0000 (Sat, 28 Jun 2008)
New Revision: 20855
Modified:
branches/db4o/freenet/src/freenet/client/async/SplitFileFetcher.java
Log:
Logging
Modified: branches/db4o/freenet/src/freenet/client/async/SplitFileFetcher.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/SplitFileFetcher.java
2008-06-28 18:17:16 UTC (rev 20854)
+++ branches/db4o/freenet/src/freenet/client/async/SplitFileFetcher.java
2008-06-28 18:18:05 UTC (rev 20855)
@@ -18,6 +18,7 @@
import freenet.client.MetadataParseException;
import freenet.keys.CHKBlock;
import freenet.keys.ClientCHK;
+import freenet.keys.NodeCHK;
import freenet.support.Fields;
import freenet.support.Logger;
import freenet.support.OOMHandler;
@@ -192,7 +193,7 @@
// If still here, it succeeded
finalLength += s.decodedLength();
if(logMINOR)
- Logger.minor(this, "Segment "+i+" decoded
length "+s.decodedLength()+" total length now "+finalLength);
+ Logger.minor(this, "Segment "+i+" decoded
length "+s.decodedLength()+" total length now "+finalLength+" for
"+s.dataBuckets.length+" blocks which should be "+(s.dataBuckets.length *
NodeCHK.BLOCK_SIZE));
// Healing is done by Segment
}
if(finalLength > overrideLength) {