Skip to content
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

feat: setup default tracing subscriber #564

Merged
merged 6 commits into from
Feb 17, 2025

Conversation

Valerioageno
Copy link
Member

@Valerioageno Valerioageno commented Feb 15, 2025

Checklist

Related issue

Fixes #563

Overview

Overall improvement to the CLI logging system.

This PR also fixes a couple of issue related to the --static build. This logging system will help understand future compilation bugs.

Usage:

RUST_LOG=trace (any tuono command)

This command will log all the event from Level trace to the most critical.

Note: all the error even will always be triggered.

For this feature I used this amazing crate -> https://docs.rs/tracing/latest/tracing/

@github-actions github-actions bot added the rust Requires rust knowledge label Feb 15, 2025
@Valerioageno Valerioageno marked this pull request as ready for review February 16, 2025 20:06
@marcalexiei marcalexiei merged commit 8e04abb into main Feb 17, 2025
20 checks passed
@marcalexiei marcalexiei deleted the add-structured-logging-to-the-cli branch February 17, 2025 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rust Requires rust knowledge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tuono build --static - add logs
3 participants