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

Switch from slog to tracing #1426

Open
data-sync-user opened this issue Oct 13, 2022 · 0 comments
Open

Switch from slog to tracing #1426

data-sync-user opened this issue Oct 13, 2022 · 0 comments

Comments

@data-sync-user
Copy link
Collaborator

data-sync-user commented Oct 13, 2022

tracing has become the standard logging library to use in async/distributed Rust applications. We should move away from using slog in favor of tracing. Merino makes use of tracing in a way that relies on mozlog Actix middleware to format the logs as mozlogs. We don’t rely heavily on logging to get information about our service at runtime (we use metrics instead since they’re cheaper), so we probably don’t need to investigate making use of spans or any other more involved features. For now, replacing the slog macro calls with tracing macros should be sufficient.

┆Issue is synchronized with this Jira Task

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

No branches or pull requests

1 participant