From e34c62dd3cf2972f077405bfff3bd13b912634dd Mon Sep 17 00:00:00 2001 From: "Mark.Johnston1" Date: Tue, 19 Dec 2023 13:48:28 +1300 Subject: [PATCH] Output jsonpath expression with match count message --- singer_sdk/helpers/jsonpath.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/singer_sdk/helpers/jsonpath.py b/singer_sdk/helpers/jsonpath.py index 82c514b41..33e65c7fa 100644 --- a/singer_sdk/helpers/jsonpath.py +++ b/singer_sdk/helpers/jsonpath.py @@ -33,7 +33,7 @@ def extract_jsonpath( match: jsonpath_ng.DatumInContext matches = compiled_jsonpath.find(input) - logger.info("JSONPath matches: %d", len(matches)) + logger.info("JSONPath %s match count: %d", expression, len(matches)) for match in matches: yield match.value