Skip to content
Snippets Groups Projects
Commit 3ea37e5f authored by Roger Dingledine's avatar Roger Dingledine
Browse files

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.
parent 3a0b8c85
No related branches found
No related tags found
No related merge requests found
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());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment