[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/master] Print each log line from get-tor-exits to it's own line in our log.
commit 63bd41f58ca2e4fe4b008fcba12739590e3c3b2c
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date: Thu Apr 2 05:08:38 2015 +0000
Print each log line from get-tor-exits to it's own line in our log.
---
lib/bridgedb/proxy.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/bridgedb/proxy.py b/lib/bridgedb/proxy.py
index 7fab5af..086f3bd 100644
--- a/lib/bridgedb/proxy.py
+++ b/lib/bridgedb/proxy.py
@@ -406,7 +406,8 @@ class ExitListProtocol(protocol.ProcessProtocol):
def errReceived(self, data):
"""Some data was received from stderr."""
# The get-exit-list script uses twisted.python.log to log to stderr:
- logging.debug(data) # pragma: no cover
+ for line in data.splitlines(): # pragma: no cover
+ logging.debug(line)
def outReceived(self, data):
"""Some data was received from stdout."""
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits