Log Tor relay names to detect failing bridges.

This commit is contained in:
akwizgran
2018-08-22 14:21:41 +01:00
parent a5271eee29
commit 6c8cc79d87

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());