Skip to content

Commit

Permalink
Fix exception in logger message
Browse files Browse the repository at this point in the history
  • Loading branch information
TimPansino committed Nov 18, 2024
1 parent b7df4ae commit a4b352b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion newrelic/core/data_collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a4b352b

Please sign in to comment.