Remove LogEmitter.flush() to align with OTel Log Spec by pranavmarla · Pull Request #2863 · open-telemetry/opentelemetry-python
requested a review
from a team
pranavmarla
changed the title
Feature/fix issue 2584
Remove LogEmitter.flush() to align with OTel Log Spec
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "C:\Program Files\Python39\lib\logging\__init__.py", line 2129, in shutdown
h.flush()
File "C:\...\.tox\opentelemetry-sdk\lib\site-packages\opentelemetry\sdk\_logs\__init__.py", line 373, in flush
self._log_emitter_provider.force_flush()
AttributeError: 'DummyLogEmitterProvider' object has no attribute 'force_flush'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters