From 9951b12e2d0097975d7f482dbe818021f772fce1 Mon Sep 17 00:00:00 2001 From: Hemna Date: Thu, 17 Oct 2024 17:09:11 -0400 Subject: [PATCH] Log closing client connection. This patch updates the aprsis connection client to add logging when the close() happens --- aprsd/client/drivers/aprsis.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/aprsd/client/drivers/aprsis.py b/aprsd/client/drivers/aprsis.py index 06b2d6b..e4d9346 100644 --- a/aprsd/client/drivers/aprsis.py +++ b/aprsd/client/drivers/aprsis.py @@ -33,7 +33,11 @@ class Aprsdis(aprslib.IS): def stop(self): self.thread_stop = True - LOG.info("Shutdown Aprsdis client.") + LOG.warning("Shutdown Aprsdis client.") + + def close(self): + LOG.warning("Closing Aprsdis client.") + super().close() @wrapt.synchronized(lock) def send(self, packet: core.Packet):