mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
downgrade the dirserver log messages when whining about unreachability
svn:r4991
This commit is contained in:
parent
7a61dbed77
commit
b0a5ba4248
@ -1020,11 +1020,11 @@ router_add_to_routerlist(routerinfo_t *router, const char **msg)
|
|||||||
dirserv_thinks_router_is_blatantly_unreachable(router, time(NULL))) {
|
dirserv_thinks_router_is_blatantly_unreachable(router, time(NULL))) {
|
||||||
if (router->num_unreachable_notifications >= 3) {
|
if (router->num_unreachable_notifications >= 3) {
|
||||||
unreachable = 1;
|
unreachable = 1;
|
||||||
log_fn(LOG_WARN, "Notifying server '%s' that it's unreachable. (ContactInfo '%s', platform '%s').",
|
log_fn(LOG_NOTICE, "Notifying server '%s' that it's unreachable. (ContactInfo '%s', platform '%s').",
|
||||||
router->nickname, router->contact_info ? router->contact_info : "",
|
router->nickname, router->contact_info ? router->contact_info : "",
|
||||||
router->platform ? router->platform : "");
|
router->platform ? router->platform : "");
|
||||||
} else {
|
} else {
|
||||||
log_fn(LOG_NOTICE,"'%s' may be unreachable -- the %d previous descriptors were thought to be unreachable.", router->nickname, router->num_unreachable_notifications);
|
log_fn(LOG_INFO,"'%s' may be unreachable -- the %d previous descriptors were thought to be unreachable.", router->nickname, router->num_unreachable_notifications);
|
||||||
router->num_unreachable_notifications++;
|
router->num_unreachable_notifications++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user