aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2012-01-10 16:12:22 +0100
committerSebastian Hahn <sebastian@torproject.org>2012-01-10 16:13:30 +0100
commit6b9298ef72997c1cd0ed2e9c47abeb6c06f64f9f (patch)
tree53178a032d1b94b1651971ee70a3b0b6e03268fc /src/or
parent50a50392b7d65409de4416eb604bec6339670a2c (diff)
downloadtor-6b9298ef72997c1cd0ed2e9c47abeb6c06f64f9f.tar
tor-6b9298ef72997c1cd0ed2e9c47abeb6c06f64f9f.tar.gz
Log which votes we still need to fetch
This might help us see which authorities are problematic in getting their vote published the first time.
Diffstat (limited to 'src/or')
-rw-r--r--src/or/dirvote.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c
index 28433366e..3bb165aee 100644
--- a/src/or/dirvote.c
+++ b/src/or/dirvote.c
@@ -2801,8 +2801,13 @@ dirvote_fetch_missing_votes(void)
smartlist_free(missing_fps);
return;
}
- log_notice(LOG_NOTICE, "We're missing votes from %d authorities. Asking "
- "every other authority for a copy.", smartlist_len(missing_fps));
+ {
+ char *tmp = smartlist_join_strings(missing_fps, " ", 0, NULL);
+ log_notice(LOG_NOTICE, "We're missing votes from %d authorities (%s). "
+ "Asking every other authority for a copy.",
+ smartlist_len(missing_fps), tmp);
+ tor_free(tmp);
+ }
resource = smartlist_join_strings(missing_fps, "+", 0, NULL);
directory_get_from_all_authorities(DIR_PURPOSE_FETCH_STATUS_VOTE,
0, resource);