mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 10:12:15 +01:00
quiet the debug message in circuit_build_times_disabled()
something recently made it get called once per second, which will clutter up your debug log file.
This commit is contained in:
parent
a6afebd8de
commit
85ef58e5ba
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user