Update of /cvsroot/freenet/freenet/src/freenet/support
In directory sc8-pr-cvs1:/tmp/cvs-serv16830/src/freenet/support

Modified Files:
        FileLoggerHook.java 
Log Message:
logging, don't report inserts on ngrt.globalEstimator, don't log diagnostics when we 
don't actually use the routing for routing (in sendingreply), only decrement the 
hopsToLive on a QueryReject (to hopefully improve insert performance), logger fixes


Index: FileLoggerHook.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/support/FileLoggerHook.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- FileLoggerHook.java 2 Sep 2003 17:05:22 -0000       1.28
+++ FileLoggerHook.java 2 Sep 2003 21:37:32 -0000       1.29
@@ -157,6 +157,8 @@
                nextHour = gc.getTimeInMillis();
                System.err.println("Start time: "+gc);
            }
+           lout = new PrintStream(uout);
+           freenet.Core.logStream = new PrintStream(lout); // FIXME
            if(redirectStdOut)
                System.setOut(lout);
            if(redirectStdErr)
@@ -178,10 +180,12 @@
                            OutputStream os = openNewLogFile(filename);
                            OutputStream oldUout = uout;
                            uout = os;
+                           lout = new PrintStream(uout);
                            if(redirectStdOut)
                                System.setOut(lout);
                            if(redirectStdErr)
                                System.setErr(lout);
+                           freenet.Core.logStream = new PrintStream(lout); // FIXME
                            try {
                                oldUout.close();
                            } catch (IOException e) {

_______________________________________________
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to