From ebad4ef6a11fb51eb0dd8653acb35e25b274cac5 Mon Sep 17 00:00:00 2001 From: Simon Date: Sun, 14 Aug 2022 12:53:51 +0100 Subject: [PATCH] More refinement of logging info --- bridge_master.py | 2 +- hblink.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bridge_master.py b/bridge_master.py index c3e9104..bf8ce10 100644 --- a/bridge_master.py +++ b/bridge_master.py @@ -88,7 +88,7 @@ from AMI import AMI # Does anybody read this stuff? There's a PEP somewhere that says I should do this. __author__ = 'Cortney T. Buffington, N0MJS, Forked by Simon Adlem - G7RZU' -__copyright__ = 'Copyright (c) 2016-2019 Cortney T. Buffington, N0MJS and the K0USY Group, Simon Adlem, G7RZU 2020,2021' +__copyright__ = 'Copyright (c) 2016-2019 Cortney T. Buffington, N0MJS and the K0USY Group, Simon Adlem, G7RZU 2020,2021, 2022' __credits__ = 'Colin Durbridge, G4EML, Steve Zingman, N4IRS; Mike Zingman, N4IRR; Jonathan Naylor, G4KLX; Hans Barthen, DL5DI; Torsten Shultze, DG1HT; Jon Lee, G4TSN; Norman Williams, M6NBP, Eric Craw KF7EEL' __license__ = 'GNU GPLv3' __maintainer__ = 'Simon Adlem G7RZU' diff --git a/hblink.py b/hblink.py index 4dd90f9..a846bd4 100755 --- a/hblink.py +++ b/hblink.py @@ -72,7 +72,7 @@ logging.trace = partial(logging.log, logging.TRACE) # Does anybody read this stuff? There's a PEP somewhere that says I should do this. __author__ = 'Cortney T. Buffington, N0MJS, Forked by Simon Adlem - G7RZU' -__copyright__ = 'Copyright (c) 2016-2019 Cortney T. Buffington, N0MJS and the K0USY Group, Simon Adlem, G7RZU 2020,2021' +__copyright__ = 'Copyright (c) 2016-2019 Cortney T. Buffington, N0MJS and the K0USY Group, Simon Adlem, G7RZU 2020,2021,2022' __credits__ = 'Colin Durbridge, G4EML, Steve Zingman, N4IRS; Mike Zingman, N4IRR; Jonathan Naylor, G4KLX; Hans Barthen, DL5DI; Torsten Shultze, DG1HT; Jon Lee, G4TSN; Norman Williams, M6NBP' __license__ = 'GNU GPLv3' __maintainer__ = 'Simon Adlem G7RZU' @@ -475,7 +475,7 @@ class OPENBRIDGE(DatagramProtocol): _inthops = _hops +1 if _inthops > 10: - logger.warning('(%s) MAX HOPS exceed, dropping. Hops: %s, DST: %s', self._system, _inthops, _int_dst_id) + logger.warning('(%s) MAX HOPS exceed, dropping. Hops: %s, DST: %s, SRC: %s', self._system, _inthops, _int_dst_id, int.from_bytes(_source_server,'big')) self.send_bcsq(_dst_id,_stream_id) return