Skip to content

Conversation

@Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Aug 22, 2021

This reverts commit 43ac758.

Using tracing_subscriber::fmt::layer() disabled the RUST_LOG based env filter. But if we add the filter to the registry it basically disables the breadcrumb tracing for Sentry. https://docs.rs/tracing-subscriber/0.2.20/tracing_subscriber/layer/trait.Layer.html#filtering-with-layers has more information on this. Until we find a way to filter what the fmt subscriber prints without disabling the breadcrumbs for Sentry we should probably not use their tracing integration.

This reverts commit 43ac758.

Using `tracing_subscriber::fmt::layer()` disabled the `RUST_LOG` based env filter. But if we add the filter to the registry it basically disables the breadcrumb tracing for Sentry. https://docs.rs/tracing-subscriber/0.2.20/tracing_subscriber/layer/trait.Layer.html#filtering-with-layers has more information on this. Until we find a way to filter what the `fmt` subscriber prints without disabling the breadcrumbs for Sentry we should probably not use their `tracing` integration.
@Turbo87 Turbo87 added C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear A-backend ⚙️ labels Aug 22, 2021
@pietroalbini
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Aug 22, 2021

📌 Commit 26534c8 has been approved by pietroalbini

@bors
Copy link
Contributor

bors commented Aug 22, 2021

⌛ Testing commit 26534c8 with merge 2988a76...

@bors
Copy link
Contributor

bors commented Aug 22, 2021

☀️ Test successful - checks-actions
Approved by: pietroalbini
Pushing 2988a76 to master...

@bors bors merged commit 2988a76 into rust-lang:master Aug 22, 2021
@Turbo87 Turbo87 deleted the tracing branch August 22, 2021 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-backend ⚙️ C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants