Skip to content

Switch to tracing for logging #50

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

Merged
merged 3 commits into from
Jul 22, 2020
Merged

Conversation

pietroalbini
Copy link
Member

This PR switches from env_logger/log to tracing as the logging backend of RLA. tracing provides a mostly drop-in replacement, and also allows to group messages together:

2020-07-22--13-07-25

The reason for this change is that without a way to group the messages from the same request together, debugging issues on CloudWatch is really hard. I've been pseudo-replicating this by prepending important log messages with "build {id}", but that doesn't scale and is more invasive than just switching to tracing.

@pietroalbini pietroalbini merged commit bbc2657 into rust-lang:master Jul 22, 2020
@pietroalbini pietroalbini deleted the tracing branch July 22, 2020 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant