From 82cbba680d9be565f4d7d76bb97698689741269c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= Date: Fri, 7 Jul 2023 12:35:43 -0600 Subject: [PATCH] fix(targets): Include SCHEMA message count in target logs --- singer_sdk/target_base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/singer_sdk/target_base.py b/singer_sdk/target_base.py index 7a1be112c..4ffc74466 100644 --- a/singer_sdk/target_base.py +++ b/singer_sdk/target_base.py @@ -294,9 +294,10 @@ def _process_lines(self, file_input: t.IO[str]) -> t.Counter[str]: self.logger.info( "Target '%s' completed reading %d lines of input " - "(%d records, %d batch manifests, %d state messages).", + "(%d schemas, %d records, %d batch manifests, %d state messages).", self.name, line_count, + counter[SingerMessageType.SCHEMA], counter[SingerMessageType.RECORD], counter[SingerMessageType.BATCH], counter[SingerMessageType.STATE],