Skip to content

How to preserve fields when spans are filtered out by EnvFilter? #2848

Answered by hawkw
gdesmott asked this question in Q&A
Discussion options

You must be logged in to vote

If you disable the DEBUG level with filtering, then spans at the DEBUG level will not be recorded. If you want your span to be recorded when DEBUG is disabled, consider changing the level of your span to INFO or higher.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@gdesmott
Comment options

@hawkw
Comment options

@gdesmott
Comment options

Answer selected by hawkw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants