[or-cvs] comment out some really popular log lines

arma at seul.org arma at seul.org
Thu Nov 17 22:19:38 UTC 2005


Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	routerlist.c 
Log Message:
comment out some really popular log lines


Index: routerlist.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.367
retrieving revision 1.368
diff -u -d -r1.367 -r1.368
--- routerlist.c	15 Nov 2005 09:57:58 -0000	1.367
+++ routerlist.c	17 Nov 2005 22:19:35 -0000	1.368
@@ -3016,6 +3016,7 @@
     });
   }
 
+#if 0
   info(LD_DIR, "%d router descriptors are downloadable; "
          "%d are up to date; %d are in progress; "
          "%d are not ready to retry; "
@@ -3028,6 +3029,7 @@
          n_downloadable, n_uptodate, n_in_progress, n_not_ready,
          n_obsolete, n_skip_old, xx_n_unrecognized, xx_n_extra_new, xx_n_both,
          xx_n_unrec_old);
+#endif
 
   if (!n_downloadable)
     return superseded;
@@ -3092,9 +3094,9 @@
       should_delay = (last_routerdesc_download_attempted +
                       MAX_CLIENT_INTERVAL_WITHOUT_REQUEST) > now;
     }
-    if (should_delay)
-      debug(LD_DIR, "There are not many downloadable routerdescs; waiting till we have some more.");
-    else
+    if (should_delay) {
+//      debug(LD_DIR, "There are not many downloadable routerdescs; waiting till we have some more.");
+    } else
       info(LD_DIR, "There are not many downloadable routerdescs, but we've been waiting long enough (%d seconds). Downloading.",
              (int)(now-last_routerdesc_download_attempted));
   }



More information about the tor-commits mailing list