Skip to content

Logs example does not export info or debug logs #4650

Open
@TylerHelmuth

Description

@TylerHelmuth

Describe your environment

OS: macOS Sequoia 15.5
Python version: 3.13.5
SDK version: 1.34.1/0.55b1
API version: 1.34.1/0.55b1

env vars:
OTEL_LOG_LEVEL=debug
OTEL_PYTHON_LOG_LEVEL=debug

What happened?

When following the logs example instructions and then running the example I do not see the debug or info logs exporter, only the warning and error logs. If I switch the exporter to the console exporter I get the same results.

Steps to Reproduce

Set export OTEL_LOG_LEVEL=debug and export OTEL_PYTHON_LOG_LEVEL=debug.

Then follow the logs example instructions

Expected Result

Info and debug logs exported

Actual Result

Only warning and error logs exported

Additional context

I am seeing this issue in other examples locally, as is an associate from a different company on their machine.

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