Skip to content

Commit a4b352b

Browse files
committed
Fix exception in logger message
1 parent b7df4ae commit a4b352b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

newrelic/core/data_collector.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def get_log_events_common_block(self):
167167
custom_attributes = {}
168168
for attr_name, attr_value in self.configuration.application_logging.forwarding.custom_attributes:
169169
if len(custom_attributes) >= MAX_NUM_USER_ATTRIBUTES:
170-
_logger.debug("Maximum number of custom attributes already added. Dropping attribute: %r=%r", attr_name, value)
170+
_logger.debug("Maximum number of custom attributes already added. Dropping attribute: %r=%r", attr_name, attr_value)
171171
break
172172

173173
key, val = process_user_attribute(attr_name, attr_value)

0 commit comments

Comments
 (0)