From b06491a24599a4850d82a1e0657d6b59a9ba73f9 Mon Sep 17 00:00:00 2001 From: cjkindel Date: Mon, 8 Aug 2022 08:04:51 -0700 Subject: [PATCH] refactor: reduce logging verbosity Similar logging is classified at DEBUG level. There is also no value added to a functioning implementation as the log statements just help document stepping through lines, which in my opinion is a debugging activity. There is no 'INFO' being added by these noisy log statements. --- src/aws_encryption_sdk/streaming_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aws_encryption_sdk/streaming_client.py b/src/aws_encryption_sdk/streaming_client.py index 54eb046d2..1119cb740 100644 --- a/src/aws_encryption_sdk/streaming_client.py +++ b/src/aws_encryption_sdk/streaming_client.py @@ -299,10 +299,10 @@ def seek(self, offset, whence=0): def readline(self): """Read a chunk of the output""" - _LOGGER.info("reading line") + _LOGGER.debug("reading line") line = self.read(self.line_length) if len(line) < self.line_length: - _LOGGER.info("all lines read") + _LOGGER.debug("all lines read") return line def readlines(self):