Less verbose Tor logging: don't log when circuits are extended.

We can get all the information we need from the other status messages.
This commit is contained in:
akwizgran
2014-04-02 17:39:27 +01:00
parent 2549a0c200
commit a4954408a8

View File

@@ -603,7 +603,10 @@ class TorPlugin implements DuplexPlugin, EventHandler {
}
public void circuitStatus(String status, String id, String path) {
if(LOG.isLoggable(INFO)) LOG.info("Circuit " + id + " " + status);
if(LOG.isLoggable(INFO)) {
if(!"EXTENDED".equals(status))
LOG.info("Circuit " + id + " " + status);
}
}
public void streamStatus(String status, String id, String target) {