mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 14:40:51 +01:00
quiet "I learned some more directory information" on startup
Reserve it for when new directory information arrives in response to a fetch. Resolves ticket 6760.
This commit is contained in:
parent
3a0b8c85c4
commit
3ea37e5faa
2 changed files with 8 additions and 1 deletions
6
changes/feature6760
Normal file
6
changes/feature6760
Normal file
|
@ -0,0 +1,6 @@
|
|||
o Minor features:
|
||||
- Don't log "I learned some more directory information" when we're
|
||||
reading cached directory information. Reserve it for when new
|
||||
directory information arrives in response to a fetch. Resolves
|
||||
ticket 6760.
|
||||
|
|
@ -953,7 +953,8 @@ directory_info_has_arrived(time_t now, int from_cache)
|
|||
const or_options_t *options = get_options();
|
||||
|
||||
if (!router_have_minimum_dir_info()) {
|
||||
int quiet = directory_too_idle_to_fetch_descriptors(options, now);
|
||||
int quiet = from_cache ||
|
||||
directory_too_idle_to_fetch_descriptors(options, now);
|
||||
log(quiet ? LOG_INFO : LOG_NOTICE, LD_DIR,
|
||||
"I learned some more directory information, but not enough to "
|
||||
"build a circuit: %s", get_dir_info_status_string());
|
||||
|
|
Loading…
Add table
Reference in a new issue