mirror of
				https://github.com/craigerl/aprsd.git
				synced 2025-11-03 13:10:31 -05:00 
			
		
		
		
	Cleanup some logs
This patch removes some debug logging from the clients.
This commit is contained in:
		
							parent
							
								
									11f1e9533e
								
							
						
					
					
						commit
						68f23d8ca7
					
				@ -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
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -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()
 | 
				
			||||||
 | 
				
			|||||||
@ -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):
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user