mirror of
https://github.com/craigerl/aprsd.git
synced 2026-06-07 00:24:41 -04:00
Log closing client connection.
This patch updates the aprsis connection client to add logging when the close() happens
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user