diff --git a/singer_sdk/_singerlib/encoding/_base.py b/singer_sdk/_singerlib/encoding/_base.py index e541fa6cd..404c6ed6c 100644 --- a/singer_sdk/_singerlib/encoding/_base.py +++ b/singer_sdk/_singerlib/encoding/_base.py @@ -52,7 +52,7 @@ def listen(self, file_input: t.IO[T] | None = None) -> None: try: self._process_lines(file_input or self.default_input) except Exception: - logger.info( + logger.debug( "Failed while processing Singer message: %s", self._current_message, ) diff --git a/tests/core/test_io.py b/tests/core/test_io.py index bb6ef7696..4f8b20199 100644 --- a/tests/core/test_io.py +++ b/tests/core/test_io.py @@ -98,7 +98,7 @@ def _process_record_message(self, message_dict: dict) -> None: # noqa: ARG002 input_lines = io.StringIO(json.dumps(message.to_dict()) + "\n") reader = ErrorReader() - with caplog.at_level(logging.INFO), pytest.raises(ValueError, match="Bad record"): + with caplog.at_level(logging.DEBUG), pytest.raises(ValueError, match="Bad record"): reader.listen(input_lines) assert caplog.records