Skip to content

Tracing fixes backport to 2411 #1545

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: release/2411
Choose a base branch
from

Conversation

smalis-msft
Copy link
Contributor

Cherry-picks of #1455 and #1462. #1469 is not needed on this branch.

jstarks and others added 2 commits June 19, 2025 11:59
Filter panic messages (printed to /dev/ttyprintk) out to a separate
target and raise their effective trace level from verbose to critical.

Fixes microsoft#439
…1462)

tokio-rs/tracing#2519 can cause the tracing
crate to mistakenly drop logs emitted after calling the `enabled!`
macro. Today we only call that macro in two places; this PR removes one
of them, the second is coming in another PR.

We currently are using our dynamic tracing filtering to filter out what
system-level messages get sent to the host, in addition to its normal
purposes. After much investigation and thought I've come to the
conclusion that there is no good way to work around this bug while
maintaining dynamic configuration. So instead just statically code these
levels. Realistically in terms of what these messages can help us
diagnose this is almost certainly fine.
@smalis-msft smalis-msft requested a review from a team as a code owner June 19, 2025 16:03
@github-actions github-actions bot added the release_2411 Targets the release/2411 branch. label Jun 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_2411 Targets the release/2411 branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants