1
0
mirror of https://github.com/craigerl/aprsd.git synced 2025-06-24 21:15:18 -04:00

Cleanup some logs

This patch removes some debug logging from the clients.
This commit is contained in:
Hemna 2024-02-25 15:04:26 -05:00
parent 11f1e9533e
commit 68f23d8ca7
3 changed files with 3 additions and 5 deletions

View File

@ -25,7 +25,7 @@ TRANSPORT_FAKE = "fake"
factory = None factory = None
class Client(metaclass=trace.TraceWrapperMetaclass): class Client:
"""Singleton client class that constructs the aprslib connection.""" """Singleton client class that constructs the aprslib connection."""
_instance = None _instance = None
@ -90,7 +90,7 @@ class Client(metaclass=trace.TraceWrapperMetaclass):
pass pass
class APRSISClient(Client, metaclass=trace.TraceWrapperMetaclass): class APRSISClient(Client):
_client = None _client = None
@ -175,7 +175,7 @@ class APRSISClient(Client, metaclass=trace.TraceWrapperMetaclass):
return aprs_client return aprs_client
class KISSClient(Client, metaclass=trace.TraceWrapperMetaclass): class KISSClient(Client):
_client = None _client = None

View File

@ -112,7 +112,6 @@ class Aprsdis(aprslib.IS):
self._sendall(login_str) self._sendall(login_str)
self.sock.settimeout(5) self.sock.settimeout(5)
test = self.sock.recv(len(login_str) + 100) test = self.sock.recv(len(login_str) + 100)
self.logger.debug("Server: '%s'", test)
if is_py3: if is_py3:
test = test.decode("latin-1") test = test.decode("latin-1")
test = test.rstrip() test = test.rstrip()

View File

@ -148,7 +148,6 @@ class Packet(metaclass=abc.ABCMeta):
self.from_call, self.from_call,
self.payload, self.payload,
) )
LOG.debug(f"_build_raw: payload '{self.payload}' raw '{self.raw}'")
@staticmethod @staticmethod
def factory(raw_packet): def factory(raw_packet):