From 0320a4aa3c46cc7f8daea04dfb5e6f50e407acbc Mon Sep 17 00:00:00 2001 From: Walter Boring Date: Wed, 14 Jan 2026 17:02:21 -0500 Subject: [PATCH] Don't log failed packets as error --- aprsd/threads/rx.py | 5 ++++- requirements.txt | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/aprsd/threads/rx.py b/aprsd/threads/rx.py index f91d574..49967b4 100644 --- a/aprsd/threads/rx.py +++ b/aprsd/threads/rx.py @@ -145,7 +145,10 @@ class APRSDFilterThread(APRSDThread): # driver may need to decode the packet differently. packet = self._client.decode_packet(pkt) if not packet: - LOG.error(f'Packet failed to parse. "{pkt}"') + # We mark this as debug, since there are so many + # packets that are on the APRS network, and we don't + # want to spam the logs with this. + LOG.debug(f'Packet failed to parse. "{pkt}"') return True self.print_packet(packet) if packet: diff --git a/requirements.txt b/requirements.txt index 9cfe469..07cc948 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ # This file was autogenerated by uv via the following command: # uv pip compile --resolver backtracking --annotation-style=line requirements.in -o requirements.txt -aprslib @ git+https://github.com/hemna/aprs-python.git@301d071480fc113d12f6abb57bbbfb65f1579aff # via -r requirements.in +aprslib @ git+https://github.com/hemna/aprs-python.git@a336be2e7fb70d62a0ce8c328762c09b4598a205 # via -r requirements.in attrs==25.4.0 # via ax253, kiss3, rush ax253==0.1.5.post1 # via kiss3 bitarray==3.8.0 # via ax253, kiss3