summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/backend/backend_proxy.py
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2014-07-09 16:14:58 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2014-07-14 12:15:25 -0300
commitd8152277022eedf5a88c84cc5f099b2fc9ad6e46 (patch)
treea55e093d47fa4ffd137559105268bd2b5a7ee3a4 /src/leap/bitmask/backend/backend_proxy.py
parentd33e9a2bc07ccd983a1321b254cc27ca6be989a3 (diff)
Comment out overly verbose logs for communication.
Diffstat (limited to 'src/leap/bitmask/backend/backend_proxy.py')
-rw-r--r--src/leap/bitmask/backend/backend_proxy.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/leap/bitmask/backend/backend_proxy.py b/src/leap/bitmask/backend/backend_proxy.py
index 39ed322e..f683e465 100644
--- a/src/leap/bitmask/backend/backend_proxy.py
+++ b/src/leap/bitmask/backend/backend_proxy.py
@@ -131,14 +131,16 @@ class BackendProxy(object):
:param request: the request to send.
:type request: str
"""
- logger.debug("Sending request to backend: {0}".format(request))
+ # logger.debug("Sending request to backend: {0}".format(request))
self._socket.send(request)
try:
# Get the reply.
- response = self._socket.recv()
- msg = "Received reply for '{0}' -> '{1}'".format(request, response)
- logger.debug(msg)
+ self._socket.recv()
+ # response = self._socket.recv()
+ # msg = "Received reply for '{0}' -> '{1}'"
+ # msg = msg.format(request, response)
+ # logger.debug(msg)
except zmq.error.Again as e:
msg = "Timeout error contacting backend. {0!r}".format(e)
logger.critical(msg)