Update of /cvsroot/freenet/freenet/src/freenet/support
In directory sc8-pr-cvs1:/tmp/cvs-serv3827/src/freenet/support
Modified Files:
Logger.java
Log Message:
6189:
Don't open new connections just to send QueryRejected messages (at least not on
initial receipt of *Request), it's not worth it, there's only a 1 hop timeout on the
other end. Thanks to sanity and lostlogic for the so-obvious-it's-invisible solution.
Implement support in logger for selective logging.
Reduce multiplier for bandwidth limits to 1.2.
Add commented-out code for Linux-specific load estimation based on /proc/stat.
Logging
Index: Logger.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/support/Logger.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- Logger.java 5 Jan 2003 12:06:18 -0000 1.9
+++ Logger.java 10 Sep 2003 21:19:52 -0000 1.10
@@ -126,7 +126,7 @@
public boolean shouldLog(int priority) {
return acceptPriority(priority);
}
-
+
/**
* Returns the priority level matching the string. If no priority
* matches, Logger.NORMAL is returned.
_______________________________________________
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs