X-Git-Url: http://average.org/gitweb/?a=blobdiff_plain;f=gps303%2Fcollector.py;fp=gps303%2Fcollector.py;h=4fc946c3dcb7795a6ff414411d5b44d757b97d4f;hb=d6d5b6c95b677d98777959040bac808e4c5499c7;hp=8adaeb36fa4671b7f60f7409ecec45e320806215;hpb=ba54a11f5710a714ae4df0c5d878229872386eb6;p=loctrkd.git diff --git a/gps303/collector.py b/gps303/collector.py index 8adaeb3..4fc946c 100644 --- a/gps303/collector.py +++ b/gps303/collector.py @@ -87,7 +87,9 @@ class Client: else: rest = b"" if rest: - log.warning("%d bytes in buffer on close: %s", len(rest), rest) + log.warning( + "%d bytes in buffer on close: %s", len(rest), rest[:64].hex() + ) def recv(self) -> Optional[List[Tuple[float, Tuple[str, int], bytes]]]: """Read from the socket and parse complete messages"""