Skip to content

logs: Overriding of current EventLoggerProvider is not allowed #4335

Open
@aborigeth

Description

@aborigeth

Describe your environment

OS: Debian 12
Python version: 3.13
SDK version: 1.28.2
API version: 0.49b2

What happened?

Warnings and significant delay at the startup:

Overriding of current EventLoggerProvider is not allowed

_logger.warning(
"Overriding of current EventLoggerProvider is not allowed"
)

Timeout was exceeded in force_flush().

if not ret:
_logger.warning("Timeout was exceeded in force_flush().")

Steps to Reproduce

pip install opentelemetry-distro[otlp] opentelemetry-instrumentation
opentelemetry-bootstrap -a install

OTEL_LOGS_EXPORTER=console,otlp
OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED=true

Expected Result

No warnings

Actual Result

Warnings and delay

Additional context

Probalby regression in 0.49b2 version
#4270

Would you like to implement a fix?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions