Merge branch 'log-relay-names' into 'master'

Log Tor relay names to detect failing bridges

See merge request briar/briar!901
This commit is contained in:
Torsten Grote
2018-08-22 14:27:58 +00:00

View File

@@ -578,7 +578,8 @@ abstract class TorPlugin implements DuplexPlugin, EventHandler, EventListener {
@Override
public void orConnStatus(String status, String orName) {
if (LOG.isLoggable(INFO)) LOG.info("OR connection " + status);
if (LOG.isLoggable(INFO))
LOG.info("OR connection " + status + " " + orName);
if (status.equals("CLOSED") || status.equals("FAILED")) {
// Check whether we've lost connectivity
updateConnectionStatus(networkManager.getNetworkStatus());