From 1c8454ceff928859241876a20e745155e92e2aa1 Mon Sep 17 00:00:00 2001 From: RobertoAldea Date: Tue, 9 Jan 2024 12:55:38 +0100 Subject: [PATCH] Minor change in logs --- code/drv_bk/src/wattrex_driver_bk/drv_bk.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/drv_bk/src/wattrex_driver_bk/drv_bk.py b/code/drv_bk/src/wattrex_driver_bk/drv_bk.py index 4cc0c8a..c72ef0a 100755 --- a/code/drv_bk/src/wattrex_driver_bk/drv_bk.py +++ b/code/drv_bk/src/wattrex_driver_bk/drv_bk.py @@ -187,15 +187,15 @@ def __parse_msg(self) -> None: #pylint: disable=too-many-branches max_volt = DEFAULT_MAX_VOLT * _MILI_UNITS, max_curr = DEFAULT_MAX_CURR * _MILI_UNITS, max_pwr = _MAX_PWR * _MILI_UNITS) - log.info(f"Serial number: {data[-1]}") - log.info(f"Model: {data[0]}") - log.info(f"Response: {data}") + log.debug(f"Serial number: {data[-1]}") + log.debug(f"Model: {data[0]}") + log.debug(f"Response: {data}") else: if self.last_data.mode in (DrvBkModeE.VOLT_DC, DrvBkModeE.VOLT_AC): self.last_data.voltage = data #pylint: disable=attribute-defined-outside-init else: self.last_data.current = data #pylint: disable=attribute-defined-outside-init - log.info(f"Value read: {data}") + log.debug(f"Value read: {data}") elif msg is None: pass else: