[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [bridgedb/master] Don't log the hashring filters twice, just log the number of bridges inserted.



commit bc84f9c7b89a328161a14ec10514562abd939939
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date:   Sun Jan 12 03:49:34 2014 +0000

    Don't log the hashring filters twice, just log the number of bridges inserted.
---
 lib/bridgedb/Bridges.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/bridgedb/Bridges.py b/lib/bridgedb/Bridges.py
index e26c405..c61f8ff 100644
--- a/lib/bridgedb/Bridges.py
+++ b/lib/bridgedb/Bridges.py
@@ -1222,8 +1222,8 @@ class FilteredBridgeSplitter(BridgeHolder):
                 if isinstance(bridge, Bridge) and filterFn(bridge):
                     subring.insert(bridge)
                     inserted += 1
-            logging.info("Inserted %d bridges into hashring with filters: %s"
-                         % (inserted, filterNames))
+            logging.info("Bridges inserted into %s subring: %d"
+                         % (subring.name, inserted))
 
         return True
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits