mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Downgrade directory preference warning to info level
This commit is contained in:
parent
c281c03654
commit
be16c16bda
@ -1566,14 +1566,14 @@ router_picked_poor_directory_log(const routerstatus_t *rs)
|
|||||||
} else if (!fascist_firewall_allows_rs(rs, FIREWALL_OR_CONNECTION, 1)
|
} else if (!fascist_firewall_allows_rs(rs, FIREWALL_OR_CONNECTION, 1)
|
||||||
&& !fascist_firewall_allows_rs(rs, FIREWALL_DIR_CONNECTION, 1)
|
&& !fascist_firewall_allows_rs(rs, FIREWALL_DIR_CONNECTION, 1)
|
||||||
) {
|
) {
|
||||||
log_warn(LD_BUG, "Selected a directory %s with non-preferred OR and Dir "
|
log_info(LD_BUG, "Selected a directory %s with non-preferred OR and Dir "
|
||||||
"addresses for launching a connection: "
|
"addresses for launching a connection: "
|
||||||
"IPv4 %s OR %d Dir %d IPv6 %s OR %d Dir %d",
|
"IPv4 %s OR %d Dir %d IPv6 %s OR %d Dir %d",
|
||||||
routerstatus_describe(rs),
|
routerstatus_describe(rs),
|
||||||
fmt_addr32(rs->addr), rs->or_port,
|
fmt_addr32(rs->addr), rs->or_port,
|
||||||
rs->dir_port, fmt_addr(&rs->ipv6_addr),
|
rs->dir_port, fmt_addr(&rs->ipv6_addr),
|
||||||
rs->ipv6_orport, rs->dir_port);
|
rs->ipv6_orport, rs->dir_port);
|
||||||
log_backtrace(LOG_WARN, LD_BUG, "Node search initiated by");
|
log_backtrace(LOG_INFO, LD_BUG, "Node search initiated by");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user