[tor-commits] [bridgedb/master] Decrease log noisiness of bridgedb.bridges.Flags.update().

isis at torproject.org isis at torproject.org
Sat Mar 21 02:02:59 UTC 2015


commit 3a098fcb6e623e5b0492f9727cb31204fc17a48d
Author: Isis Lovecruft <isis at torproject.org>
Date:   Wed Dec 24 08:46:16 2014 +0000

    Decrease log noisiness of bridgedb.bridges.Flags.update().
---
 lib/bridgedb/bridges.py |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lib/bridgedb/bridges.py b/lib/bridgedb/bridges.py
index 5c92898..52abc35 100644
--- a/lib/bridgedb/bridges.py
+++ b/lib/bridgedb/bridges.py
@@ -118,8 +118,10 @@ class Flags(object):
         self.stable = 'Stable' in flags
         self.valid = 'Valid' in flags
 
-        if self.fast or self.guard or self.running or self.stable or self.valid:
-            logging.debug("Parsed Flags: %s" % ' '.join(flags))
+        if not self.running:
+            logging.debug("Bridge doesn't have the Running flag.")
+        if not self.stable:
+            logging.debug("Bridge doesn't have the Stable flag.")
 
 
 class PluggableTransport(object):





More information about the tor-commits mailing list