Update of /cvsroot/freenet/freenet/src/freenet
In directory sc8-pr-cvs1:/tmp/cvs-serv25722/src/freenet
Modified Files:
PeerPacketMessage.java
Log Message:
Yet an if(logDEBUG)
Index: PeerPacketMessage.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/PeerPacketMessage.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- PeerPacketMessage.java 11 Oct 2003 20:00:14 -0000 1.8
+++ PeerPacketMessage.java 12 Oct 2003 15:06:25 -0000 1.9
@@ -134,9 +134,10 @@
* @param detail the excuse exception
*/
public void notifyFailure(SendFailedException detail) {
- Core.logger.log(this, "notifyFailure("+detail+") for "+this,
+ boolean logDEBUG = Core.logger.shouldLog(Logger.DEBUG,this);
+ if(logDEBUG) Core.logger.log(this, "notifyFailure("+detail+") for "+this,
detail, Logger.DEBUG);
- Core.logger.log(this, "notifyFailure() for "+this,
+ if(logDEBUG) Core.logger.log(this, "notifyFailure() for "+this,
new Exception("debug"), Logger.DEBUG);
if(finished) {
Core.logger.log(this, "notifyFailure on "+this+" already finished!",
_______________________________________________
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs