Here is anouthor diff. It is minor. There is still one more place that is 
logging keys that I was trying to track down, but it was taking too long, so 
I figured I just submit this first. This is for 
src/freenet/node/states/request/RequestState.java

I've been having a lot of problems with CVS. Is this just just the public CVS 
or is SF in genreal bad? 

I've also had seen a lot of null pointers when I compile it (almost always 
related to something commented out with a % in the config file ...), but 
that's anouthor issue entirely... 
--- RequestState.old.java	2003-08-07 13:39:43.000000000 -0500
+++ RequestState.java	2003-08-07 13:37:40.000000000 -0500
@@ -146,9 +146,14 @@
     }
     
     public String toString() {
+      if(logDEBUG)
 	return getClass().getName()+": key="+searchKey+", hopsToLive="+
 	    hopsToLive+", id="+Fields.longToHex(id)+",ft="+ft+"@"+
 	    System.currentTimeMillis();
+      else
+      	return getClass().getName()+": key=(Not Logged), hopsToLive="+
+	    hopsToLive+", id="+Fields.longToHex(id)+",ft="+ft+"@"+
+	    System.currentTimeMillis();
     }
 }
 

Reply via email to