Loglevel changed to rx_tx_loglvl in send method

This commit is contained in:
Dirk Alders 2025-09-14 08:15:29 +02:00
parent c7aced7c3f
commit a931455046

View File

@ -434,7 +434,7 @@ class tcp_base_stp(tcp_base):
:rtype: bool :rtype: bool
""" """
if tcp_base.send(self, stringtools.stp.build_frame(data), timeout=timeout): if tcp_base.send(self, stringtools.stp.build_frame(data), timeout=timeout):
self.logger.info('%s TX -> "%s"', self.__log_prefix__(), stringtools.hexlify(data)) self.logger.log(self.__rx_tx_log_lvl__, '%s TX -> "%s"', self.__log_prefix__(), stringtools.hexlify(data))
return True return True
else: else:
return False return False