Skip to content

Commit 9951b12

Browse files
committed
Log closing client connection.
This patch updates the aprsis connection client to add logging when the close() happens
1 parent 3e9bf24 commit 9951b12

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

aprsd/client/drivers/aprsis.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@ class Aprsdis(aprslib.IS):
3333

3434
def stop(self):
3535
self.thread_stop = True
36-
LOG.info("Shutdown Aprsdis client.")
36+
LOG.warning("Shutdown Aprsdis client.")
37+
38+
def close(self):
39+
LOG.warning("Closing Aprsdis client.")
40+
super().close()
3741

3842
@wrapt.synchronized(lock)
3943
def send(self, packet: core.Packet):

0 commit comments

Comments
 (0)