[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] remove some extra-verbose logs



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

Modified Files:
	circuitbuild.c circuituse.c 
Log Message:
remove some extra-verbose logs


Index: circuitbuild.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/circuitbuild.c,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -d -r1.78 -r1.79
--- circuitbuild.c	17 Jan 2005 18:13:09 -0000	1.78
+++ circuitbuild.c	17 Jan 2005 18:49:13 -0000	1.79
@@ -1147,7 +1147,8 @@
   memcpy(circ->build_state->chosen_exit_digest, exit_digest, DIGEST_LEN);
   ++circ->build_state->desired_path_len;
   if (circuit_send_next_onion_skin(circ)<0) {
-    log_fn(LOG_WARN, "Couldn't extend circuit to new point '%s'.",                                    circ->build_state->chosen_exit_name);
+    log_fn(LOG_WARN, "Couldn't extend circuit to new point '%s'.",
+           circ->build_state->chosen_exit_name);
     circuit_mark_for_close(circ);
     return -1;
   }

Index: circuituse.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/circuituse.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- circuituse.c	17 Jan 2005 18:13:09 -0000	1.43
+++ circuituse.c	17 Jan 2005 18:49:13 -0000	1.44
@@ -198,6 +198,7 @@
     if (victim->timestamp_created + MIN_SECONDS_BEFORE_EXPIRING_CIRC > now)
       continue; /* it's young still, don't mess with it */
 
+#if 0
     /* some debug logs, to help track bugs */
     if (victim->purpose >= CIRCUIT_PURPOSE_C_INTRODUCING &&
         victim->purpose <= CIRCUIT_PURPOSE_C_REND_READY_INTRO_ACKED) {
@@ -213,6 +214,7 @@
                victim->n_circ_id,
                (int)(now - victim->timestamp_dirty));
     }
+#endif
 
     /* if circ is !open, or if it's open but purpose is a non-finished
      * intro or rend, then mark it for close */