Skip to content

Commit

Permalink
Fix log levels
Browse files Browse the repository at this point in the history
  • Loading branch information
goodboy committed Sep 8, 2021
1 parent 4188e0a commit afab5c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tractor/_ipc.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,11 @@ async def _iter_packets(self) -> typing.AsyncGenerator[dict, None]:

size, = struct.unpack("<I", header)

log.trace(f'received header {size}') # type: ignore
log.transport(f'received header {size}') # type: ignore

msg_bytes = await self.recv_stream.receive_exactly(size)

log.trace(f"received {msg_bytes}") # type: ignore
log.transport(f"received {msg_bytes}") # type: ignore
yield self.decode(msg_bytes)

async def send(self, data: Any) -> None:
Expand Down

0 comments on commit afab5c4

Please sign in to comment.