From 7a76582b32677fb672cb52febf35c1ac6e82c639 Mon Sep 17 00:00:00 2001 From: heitorlessa Date: Thu, 5 Aug 2021 13:44:06 +0200 Subject: [PATCH] chore: add missing debugging log for all feats --- aws_lambda_powertools/utilities/feature_flags/feature_flags.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aws_lambda_powertools/utilities/feature_flags/feature_flags.py b/aws_lambda_powertools/utilities/feature_flags/feature_flags.py index 3d913de98d4..4cf5de6f3ed 100644 --- a/aws_lambda_powertools/utilities/feature_flags/feature_flags.py +++ b/aws_lambda_powertools/utilities/feature_flags/feature_flags.py @@ -237,6 +237,7 @@ def get_enabled_features(self, *, context: Optional[Dict[str, Any]] = None) -> L logger.debug(f"Failed to fetch feature flags from store, returning empty list, reason={err}") return features_enabled + logger.debug("Evaluating all features") for name, feature in features.items(): rules = feature.get(schema.RULES_KEY, {}) feature_default_value = feature.get(schema.FEATURE_DEFAULT_VAL_KEY)