[tor-commits] [bridgedb/master] Add debug message.
phw at torproject.org
phw at torproject.org
Tue Aug 20 16:56:57 UTC 2019
commit 4302c6792b07ae1fef4886ec9765d13425864037
Author: Philipp Winter <phw at nymity.ch>
Date: Wed Jun 26 10:49:45 2019 -0700
Add debug message.
This helps with debugging <https://bugs.torproject.org/30441>.
---
bridgedb/Bridges.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/bridgedb/Bridges.py b/bridgedb/Bridges.py
index 3b1e5b5..3c94fdf 100644
--- a/bridgedb/Bridges.py
+++ b/bridgedb/Bridges.py
@@ -344,6 +344,8 @@ class BridgeRing(object):
bridges = [self.bridges[k] for k in keys]
bridges = bridges[:N]
+ logging.debug("Caller asked for N=%d, filterBySubnet=%s bridges. "
+ "Returning %d bridges." % (N, filterBySubnet, len(bridges)))
return bridges
More information about the tor-commits
mailing list