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

Small logging improvements #858

Merged
merged 4 commits into from
Mar 1, 2024
Merged

Small logging improvements #858

merged 4 commits into from
Mar 1, 2024

Conversation

naglis
Copy link
Contributor

@naglis naglis commented Feb 9, 2024

No description provided.

- Makes string formatting lazy if the logging level is not enabled.
- Works better with tools like Sentry (for grouping the same events).
- Logging twice for the same event adds noise to the logs - are the log
  messages related.
- The two events are not guaranteed to be printed on after another -
  potential for additional confusion.
- If log record filtering is used then it can be impossible to filter
  out related events.
@geigi geigi merged commit 7796bd9 into geigi:master Mar 1, 2024
4 checks passed
@geigi
Copy link
Owner

geigi commented Mar 1, 2024

Thanks :)

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.

2 participants