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
While I can use RUST_LOG=holo[interface]=debug cargo run to filter interface events only, I can't do the same for targeted-nbr or ldp-instance. Renaming those spans to targeted_nbr and ldp_instance, respectively, allows the filtering to work normally.
I didn't check if the same problem happens for span field names.
Filtering log events using the `target[span{field=value}]=level` syntax
doesn't work when the span name contains a special char.
This PR closes#1367 by adding support for span names with any
characters other than `{` and `]` to `EnvFilter`.
Co-authored-by: Eliza Weisman <[email protected]>
Filtering log events using the `target[span{field=value}]=level` syntax
doesn't work when the span name contains a special char.
This PR closes#1367 by adding support for span names with any
characters other than `{` and `]` to `EnvFilter`.
Co-authored-by: Eliza Weisman <[email protected]>
Filtering log events using the `target[span{field=value}]=level` syntax
doesn't work when the span name contains a special char.
This PR closes#1367 by adding support for span names with any
characters other than `{` and `]` to `EnvFilter`.
Co-authored-by: Eliza Weisman <[email protected]>
Description
Filtering log events using the
target[span{field=value}]=level
syntax doesn't work when the span name contains a dash.Example log events from my program:
While I can use
RUST_LOG=holo[interface]=debug cargo run
to filter interface events only, I can't do the same fortargeted-nbr
orldp-instance
. Renaming those spans totargeted_nbr
andldp_instance
, respectively, allows the filtering to work normally.I didn't check if the same problem happens for span field names.
Version
Platform
The text was updated successfully, but these errors were encountered: