Skip to content

Implement Logs Enabled filtering - #5724

Open
djbell261 wants to merge 2 commits into
open-telemetry:mainfrom
djbell261:codex/logs-enabled-filtering
Open

djbell261 wants to merge 2 commits into
open-telemetry:mainfrom
djbell261:codex/logs-enabled-filtering

Conversation

@djbell261

Copy link
Copy Markdown

Add minimum-severity and trace-based filtering to Logger.enabled() and wire both options through declarative configuration.

Description

Fixes #5525

Type of change

New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • uv run tox -e py314-test-opentelemetry-sdk
  • uv run tox -e py314-test-opentelemetry-configuration
  • uv run tox -e precommit
  • uv run tox -e typecheck -x 'testenv:typecheck.base_python=python3.13'

Does This PR Require a Contrib Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

@djbell261
djbell261 requested a review from a team as a code owner October 2, 2026 00:13
@linux-foundation-easycla

linux-foundation-easycla Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

CLA Not Signed

@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Pull request dashboard status

Waiting on the author · refreshed 2026-10-02 15:19 UTC

Investigate required status check failures.

Status above doesn't look right?
  • Just replied or pushed? Anything around or after the refresh time above may not be picked up yet — give it a few minutes.
  • Should this be with reviewers? Comment /dashboard route:reviewers to route it to them.
  • Anything wrong — including the routing? Report it with what you expected; it helps us improve the dashboard.

Add minimum-severity and trace-based filtering to Logger.enabled()
and wire both options through declarative configuration.
@ocelotl
ocelotl force-pushed the codex/logs-enabled-filtering branch from 9049ca9 to ce077e0 Compare October 2, 2026 14:10

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Logs Enabled: implement Development-status conditions (minimum_severity, trace_based)

1 participant