From a4954408a8b33a9c245315480afdbbb99989caf1 Mon Sep 17 00:00:00 2001
From: akwizgran <akwizgran@users.sourceforge.net>
Date: Wed, 2 Apr 2014 17:39:27 +0100
Subject: [PATCH] Less verbose Tor logging: don't log when circuits are
 extended.

We can get all the information we need from the other status messages.
---
 .../src/org/briarproject/plugins/tor/TorPlugin.java          | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/briar-android/src/org/briarproject/plugins/tor/TorPlugin.java b/briar-android/src/org/briarproject/plugins/tor/TorPlugin.java
index 371f74d824..950f685046 100644
--- a/briar-android/src/org/briarproject/plugins/tor/TorPlugin.java
+++ b/briar-android/src/org/briarproject/plugins/tor/TorPlugin.java
@@ -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) {
-- 
GitLab