From 4eb014aedc11b8d4867f76bac64887c3a0bda3b9 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 22 Jun 2018 23:31:43 -0400 Subject: [PATCH] Use trace level for packet contents --- piker/ipc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/piker/ipc.py b/piker/ipc.py index 8526a88..0470a65 100644 --- a/piker/ipc.py +++ b/piker/ipc.py @@ -27,7 +27,7 @@ class StreamQueue: while True: try: data = await self.stream.receive_some(2**10) - log.trace(f"Data is {data}") + log.trace(f"received {data}") except trio.BrokenStreamError: log.error(f"Stream connection {self.raddr} broke") return @@ -109,7 +109,7 @@ class Channel: return stream async def send(self, item): - log.debug(f"send `{item}`") + log.trace(f"send `{item}`") await self.squeue.put(item) async def recv(self):