From a4b352b4e8e26ab8239419f252b521417e3996aa Mon Sep 17 00:00:00 2001 From: Tim Pansino Date: Mon, 18 Nov 2024 14:45:46 -0800 Subject: [PATCH] Fix exception in logger message --- newrelic/core/data_collector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newrelic/core/data_collector.py b/newrelic/core/data_collector.py index 69c4376d0..32788ca2e 100644 --- a/newrelic/core/data_collector.py +++ b/newrelic/core/data_collector.py @@ -167,7 +167,7 @@ def get_log_events_common_block(self): custom_attributes = {} for attr_name, attr_value in self.configuration.application_logging.forwarding.custom_attributes: if len(custom_attributes) >= MAX_NUM_USER_ATTRIBUTES: - _logger.debug("Maximum number of custom attributes already added. Dropping attribute: %r=%r", attr_name, value) + _logger.debug("Maximum number of custom attributes already added. Dropping attribute: %r=%r", attr_name, attr_value) break key, val = process_user_attribute(attr_name, attr_value)