Use trace level for packet contents
parent
b908bd0b9d
commit
75996fed0d
|
@ -27,7 +27,7 @@ class StreamQueue:
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
data = await self.stream.receive_some(2**10)
|
data = await self.stream.receive_some(2**10)
|
||||||
log.trace(f"Data is {data}")
|
log.trace(f"received {data}")
|
||||||
except trio.BrokenStreamError:
|
except trio.BrokenStreamError:
|
||||||
log.error(f"Stream connection {self.raddr} broke")
|
log.error(f"Stream connection {self.raddr} broke")
|
||||||
return
|
return
|
||||||
|
@ -109,7 +109,7 @@ class Channel:
|
||||||
return stream
|
return stream
|
||||||
|
|
||||||
async def send(self, item):
|
async def send(self, item):
|
||||||
log.debug(f"send `{item}`")
|
log.trace(f"send `{item}`")
|
||||||
await self.squeue.put(item)
|
await self.squeue.put(item)
|
||||||
|
|
||||||
async def recv(self):
|
async def recv(self):
|
||||||
|
|
Loading…
Reference in New Issue