aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-05-09 09:47:47 +0000
committerRoger Dingledine <arma@torproject.org>2006-05-09 09:47:47 +0000
commit295ad74fdaab9cce4fed7bf42cffd30770eee730 (patch)
tree72be004fd827bfdca239db07022b599b131ef4e6 /src
parent27624a3024b45be71937295c6557f61cfd133878 (diff)
downloadtor-295ad74fdaab9cce4fed7bf42cffd30770eee730.tar
tor-295ad74fdaab9cce4fed7bf42cffd30770eee730.tar.gz
Tor servers are also giving spurious "you're invalid" warnings.
This is because we get a lot of network statuses that don't list us at all, and we conclude that they all think we're invalid. The long-term fix is to get better logic, and the short-term fix is to downgrade the log severity. svn:r6448
Diffstat (limited to 'src')
-rw-r--r--src/or/routerlist.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 4345eb353..38c8c14ac 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -2777,12 +2777,12 @@ routers_update_all_from_networkstatus(void)
++n_named;
});
- if (n_recent && n_listing) {
- if (n_valid <= n_recent/2) {
- log_warn(LD_GENERAL,
+ if (n_listing) {
+ if (n_valid <= n_listing/2) {
+ log_info(LD_GENERAL,
"%d/%d recent statements from directory authorities list us "
"as unapproved. Are you misconfigured?",
- n_recent-n_valid, n_recent);
+ n_listing-n_valid, n_listing);
have_warned_about_invalid_status = 1;
} else if (n_naming && !n_named) {
log_info(LD_GENERAL, "0/%d name-binding directory authorities "