[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/master] Make the logs clearly state which distributor bridges are being inserted into.
commit c6230c237f161d67e0002a80d98c41f73dfced0e
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date: Fri Nov 15 15:36:51 2013 +0000
Make the logs clearly state which distributor bridges are being inserted into.
---
lib/bridgedb/Dist.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/bridgedb/Dist.py b/lib/bridgedb/Dist.py
index 0b1a149..66ca438 100644
--- a/lib/bridgedb/Dist.py
+++ b/lib/bridgedb/Dist.py
@@ -106,8 +106,8 @@ class IPBasedDistributor(bridgedb.Bridges.BridgeHolder):
ring_cache_size = self.nClusters + len(ipCategories) + 5
self.splitter = bridgedb.Bridges.FilteredBridgeSplitter(
key2, max_cached_rings=ring_cache_size)
-
- logging.debug("added splitter %s" % self.splitter)
+ logging.debug("Added splitter %s to IPBasedDistributor."
+ % self.splitter.__class__)
def prepopulateRings(self):
# populate all rings (for dumping assignments and testing)
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits