Skip to content

Commit 3a3f26d

Browse files
committed
Make netconnectd less chatty unless debugging.
1 parent 71fdaea commit 3a3f26d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

netconnectd/server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def _socket_monitor(self, server_address, callbacks=None):
298298
while True:
299299
chunk = connection.recv(16)
300300
if chunk:
301-
self.logger.info("Recv: %r" % chunk)
301+
self.logger.debug("Recv: %r" % chunk)
302302
buffer.append(chunk)
303303
if chunk.endswith(b"\x00"):
304304
break
@@ -322,7 +322,7 @@ def _socket_monitor(self, server_address, callbacks=None):
322322
else:
323323
response = ErrorResponse(result)
324324

325-
self.logger.info("Send: %s" % str(response))
325+
self.logger.debug("Send: %s" % str(response))
326326
connection.sendall(str(response).encode("utf-8") + b"\x00")
327327

328328
except:

0 commit comments

Comments
 (0)