You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe your environment Python 3.11, macOS Ventura
Steps to reproduce
Create a LoggingHandler without providing a logger_provider, use it, and log a message.
Run program
What is the expected behavior?
A clean exit.
What is the actual behavior?
Exception ignored in atexit callback: <function shutdown at 0x104e3ec00>
Traceback (most recent call last):
File "/opt/homebrew/Cellar/[email protected]/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/logging/__init__.py", line 2192, in shutdown
h.flush()
File "/Users/pro2023/pyenv-otel/lib/python3.11/site-packages/opentelemetry/sdk/_logs/_internal/__init__.py", line 548, in flush
self._logger_provider.force_flush()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoOpLoggerProvider' object has no attribute 'force_flush'
The text was updated successfully, but these errors were encountered:
Describe your environment Python 3.11, macOS Ventura
Steps to reproduce
LoggingHandler
without providing alogger_provider
, use it, and log a message.What is the expected behavior?
A clean exit.
What is the actual behavior?
The text was updated successfully, but these errors were encountered: