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 6f1a5a7 commit a5e1e86Copy full SHA for a5e1e86
opentelemetry-sdk/src/opentelemetry/sdk/_logs/_internal/export/__init__.py
@@ -135,6 +135,10 @@ def on_emit(self, log_data: LogData):
135
)
136
for item in traceback.extract_stack()
137
138
+ # Recursive depth of 3 is sort of arbitrary. It's possible that an Exporter.export call
139
+ # emits a log which returns us to this function, but when we call Exporter.export again the log
140
+ # is no longer emitted and we exit this recursive loop naturally, a depth of 3 allows some
141
+ # Exporter.export recursive log calls but exits after a few.
142
> 3
143
):
144
_propagate_false_logger.warning(
0 commit comments