Update of /cvsroot/freenet/freenet/src/freenet/node/states/maintenance
In directory sc8-pr-cvs1:/tmp/cvs-serv31561/src/freenet/node/states/maintenance
Modified Files:
Checkpoint.java
Log Message:
6225:
Iakin:
* Logging fixes
* Fix a common, nasty NullPointerException introduced recently.
Me:
* Calculate total bytes queued in trailers, including what is sending and what is
queued, across all PeerHandlers. Use this for a reasonably accurate queue length in
OCM infolet.
- Message.trailerLength()
- PeerHandler.queuedBytes()
- OCM.totalSendQueueSize()
* Try to find error in ConnectionOpener causing stack track starting on Random.getInt
* Logging improvements.
Index: Checkpoint.java
===================================================================
RCS file:
/cvsroot/freenet/freenet/src/freenet/node/states/maintenance/Checkpoint.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- Checkpoint.java 26 Nov 2002 17:19:16 -0000 1.5
+++ Checkpoint.java 9 Oct 2003 00:23:40 -0000 1.6
@@ -56,8 +56,8 @@
target.checkpoint();
}
catch (Throwable e) {
- n.logger.log(this, "unhandled throwable in "+getName(),
- e, Logger.ERROR);
+ n.logger.log(this, "unhandled throwable in "+getName()+": "+
+ e, e, Logger.ERROR);
}
finally {
schedule(n);
_______________________________________________
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs