Skip to content
Snippets Groups Projects
Commit a4954408 authored by akwizgran's avatar akwizgran
Browse files

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

We can get all the information we need from the other status messages.
parent 2549a0c2
Loading
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment