We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f9e550 commit ba283abCopy full SHA for ba283ab
opentelemetry-sdk/src/opentelemetry/sdk/_logs/_internal/__init__.py
@@ -195,7 +195,7 @@ def __init__(
195
self.log_record.attributes = BoundedAttributes(
196
maxlen=limits.max_attributes,
197
attributes=self.log_record.attributes
198
- if bool(self.log_record.attributes)
+ if self.log_record.attributes
199
else None,
200
immutable=False,
201
max_value_len=limits.max_attribute_length,
0 commit comments