diff --git a/dsmr_parser/clients/filereader.py b/dsmr_parser/clients/filereader.py index a2ab525..4769f16 100644 --- a/dsmr_parser/clients/filereader.py +++ b/dsmr_parser/clients/filereader.py @@ -73,7 +73,7 @@ class FileReader(object): try: yield self.telegram_parser.parse(telegram) except InvalidChecksumError as e: - logger.warning(str(e)) + logger.info(str(e)) except ParseError as e: logger.error('Failed to parse telegram: %s', e) diff --git a/dsmr_parser/clients/protocol.py b/dsmr_parser/clients/protocol.py index 4605fcf..73ad9d5 100644 --- a/dsmr_parser/clients/protocol.py +++ b/dsmr_parser/clients/protocol.py @@ -158,7 +158,7 @@ class DSMRProtocol(asyncio.Protocol): try: parsed_telegram = self.telegram_parser.parse(telegram) except InvalidChecksumError as e: - self.log.warning(str(e)) + self.log.info(str(e)) except ParseError: self.log.exception("failed to parse telegram") else: diff --git a/dsmr_parser/clients/serial_.py b/dsmr_parser/clients/serial_.py index 945c4e7..08b69d8 100644 --- a/dsmr_parser/clients/serial_.py +++ b/dsmr_parser/clients/serial_.py @@ -37,7 +37,7 @@ class SerialReader(object): try: yield self.telegram_parser.parse(telegram) except InvalidChecksumError as e: - logger.warning(str(e)) + logger.info(str(e)) except ParseError as e: logger.error('Failed to parse telegram: %s', e) diff --git a/dsmr_parser/clients/socket_.py b/dsmr_parser/clients/socket_.py index 8ee16fa..968a582 100644 --- a/dsmr_parser/clients/socket_.py +++ b/dsmr_parser/clients/socket_.py @@ -54,7 +54,7 @@ class SocketReader(object): try: yield self.telegram_parser.parse(telegram) except InvalidChecksumError as e: - logger.warning(str(e)) + logger.info(str(e)) except ParseError as e: logger.error('Failed to parse telegram: %s', e)