]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
quiet the debug message in circuit_build_times_disabled()
authorRoger Dingledine <arma@torproject.org>
Mon, 24 Mar 2014 06:31:13 +0000 (02:31 -0400)
committerRoger Dingledine <arma@torproject.org>
Mon, 24 Mar 2014 06:33:17 +0000 (02:33 -0400)
something recently made it get called once per second, which will clutter
up your debug log file.

src/or/circuitstats.c

index eaefc9eddeedf73ccda26079f2397deb0dd0af4b..c093ecd269dedc7a3af354d1d9d6ad6f79b88afc 100644 (file)
@@ -94,18 +94,22 @@ circuit_build_times_disabled(void)
 
     if (consensus_disabled || config_disabled || dirauth_disabled ||
            state_disabled) {
+#if 0
       log_debug(LD_CIRC,
                "CircuitBuildTime learning is disabled. "
                "Consensus=%d, Config=%d, AuthDir=%d, StateFile=%d",
                consensus_disabled, config_disabled, dirauth_disabled,
                state_disabled);
+#endif
       return 1;
     } else {
+#if 0
       log_debug(LD_CIRC,
                 "CircuitBuildTime learning is not disabled. "
                 "Consensus=%d, Config=%d, AuthDir=%d, StateFile=%d",
                 consensus_disabled, config_disabled, dirauth_disabled,
                 state_disabled);
+#endif
       return 0;
     }
   }