[or-cvs] make some of the debug level logs quieter

arma at seul.org arma at seul.org
Sun Jan 29 11:44:32 UTC 2006


Update of /home/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/tor-010x/tor/src/or

Modified Files:
      Tag: tor-0_1_0-patches
	circuitbuild.c connection_edge.c 
Log Message:
make some of the debug level logs quieter


Index: circuitbuild.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/circuitbuild.c,v
retrieving revision 1.115.2.1
retrieving revision 1.115.2.2
diff -u -p -d -r1.115.2.1 -r1.115.2.2
--- circuitbuild.c	8 Dec 2005 21:33:55 -0000	1.115.2.1
+++ circuitbuild.c	29 Jan 2006 11:44:30 -0000	1.115.2.2
@@ -1118,7 +1118,7 @@ choose_good_exit_server_general(routerli
         router = smartlist_get(dir->routers, i);
         if (n_supported[i] != -1 &&
             (try || router_handles_some_port(router, needed_ports))) {
-          log_fn(LOG_DEBUG,"Try %d: '%s' is a possibility.", try, router->nickname);
+//          log_fn(LOG_DEBUG,"Try %d: '%s' is a possibility.", try, router->nickname);
           smartlist_add(sl, router);
         }
       }

Index: connection_edge.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/connection_edge.c,v
retrieving revision 1.327.2.3
retrieving revision 1.327.2.4
diff -u -p -d -r1.327.2.3 -r1.327.2.4
--- connection_edge.c	2 Jan 2006 13:32:46 -0000	1.327.2.3
+++ connection_edge.c	29 Jan 2006 11:44:30 -0000	1.327.2.4
@@ -1609,9 +1609,11 @@ int connection_ap_can_use_exit(connectio
   tor_assert(conn->socks_request);
   tor_assert(exit);
 
+#if 0
   log_fn(LOG_DEBUG,"considering nickname %s, for address %s / port %d:",
          exit->nickname, safe_str(conn->socks_request->address),
          conn->socks_request->port);
+#endif
 
   /* If a particular exit node has been requested for the new connection,
    * make sure the exit node of the existing circuit matches exactly.



More information about the tor-commits mailing list