diff --git a/functions/notify_slack.py b/functions/notify_slack.py index d7e7c864..04ebc58f 100644 --- a/functions/notify_slack.py +++ b/functions/notify_slack.py @@ -454,7 +454,7 @@ def lambda_handler(event: Dict[str, Any], context: Dict[str, Any]) -> str: :returns: none """ if os.environ.get("LOG_EVENTS", "False") == "True": - logging.info(f"Event logging enabled: `{json.dumps(event)}`") + logging.info("Event logging enabled: %s", json.dumps(event)) for record in event["Records"]: sns = record["Sns"]