diff --git a/bridge_master.py b/bridge_master.py index f9b0caf..574edb1 100644 --- a/bridge_master.py +++ b/bridge_master.py @@ -127,6 +127,7 @@ def config_reports(_config, _factory): i = i +1 logger.info('(REPORT) %s systems have at least one peer',i) logger.info('(REPORT) Subscriber Map has %s entries',len(SUB_MAP)) + logger.info('(REPORT) %s SERVER_ID\'s seen by topography system', len(TOPO)) logger.info('(REPORT) HBlink TCP reporting server configured') diff --git a/hblink.py b/hblink.py index c643ce8..d334db2 100755 --- a/hblink.py +++ b/hblink.py @@ -758,7 +758,7 @@ class OPENBRIDGE(DatagramProtocol): _ver = _packet[12:13] _hops = _packet[13:14] if _hash == _hash2: - logger.trace('(%s) *ProtoControl* BCTO received: %s connected to %s with proto ver. %s. HOPS: ',self._system, int_id(_src), int_id(_dst), int.from_bytes(_ver,'big'), int.from_bytes(_hops,'big')) + logger.trace('(%s) *ProtoControl* BCTO received: %s connected to %s with proto ver. %s. HOPS: %s ',self._system, int_id(_src), int_id(_dst), int.from_bytes(_ver,'big'), int.from_bytes(_hops,'big')) if int.from_bytes(_hops,'big') < 10 and _src != self._CONFIG['GLOBAL']['SERVER_ID']: self.retransmit_bcto(_packet[4:13],int.from_bytes(_hops,'big')) else: