Skip to content

subscriber: Revisit env filter directives with targets and spans #367

@davidbarsky

Description

@davidbarsky

Right now, a span filter will turn on everything inside that span, regardless of target. This is a possibly confusing user-experience.

Right now, the target is used to match the span for which the level is set for, but it probably should be changed to set a level for everything with that target, inside the span.

Metadata

Metadata

Assignees

No one assigned

    Labels

    crate/subscriberRelated to the `tracing-subscriber` cratemeta/breakingThis is a breaking change, and should wait until the next breaking release.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions