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

Provide an overview of logger overload protection #8855

Merged

Conversation

PragTob
Copy link
Contributor

@PragTob PragTob commented Sep 24, 2024

Digging into the topic of logger overload protection I found it somewhat hard to follow and keep track of what all the systems do on a high level.

It probably doesn't solve this for everything, but I think providing a high level overview of the measures in place can help others to better understand the mechanisms and dive into the one they care the most about.

Thank you all so much for your work 💚

Digging into the topic of logger overload protection I found it
somewhat hard to follow and keep track of what all the systems
do on a high level.

It probably doesn't solve this for everything, but I think
providing a high level overview of the measures in place can
help others to better understand the mechanisms and dive into
the one they care the most about.
Copy link
Contributor

github-actions bot commented Sep 24, 2024

CT Test Results

    2 files     70 suites   1h 4m 49s ⏱️
1 547 tests 1 303 ✅ 241 💤 3 ❌
1 763 runs  1 487 ✅ 273 💤 3 ❌

For more details on these failures, see this check.

Results for commit 420d3f9.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

PragTob added a commit to PragTob/elixir that referenced this pull request Sep 24, 2024
The previous docs didn't mention that logger may drop messages
entirely, which I think is important to call out (and not just
because I finished a long debugging journey to find these :) ).

This should give a fair overview of the built-in overload
protections, similar to what I tried to do in erlang/otp#8855

I think this can really help folks be aware of some of these.
@garazdawi garazdawi merged commit be01941 into erlang:master Sep 24, 2024
14 of 16 checks passed
@garazdawi
Copy link
Contributor

Thanks!

@PragTob PragTob deleted the logger-overview-overload-protection branch September 24, 2024 14:51
whatyouhide pushed a commit to elixir-lang/elixir that referenced this pull request Sep 24, 2024
The previous docs didn't mention that logger may drop messages
entirely. This should give a fair overview of the built-in overload
protections, similar to erlang/otp#8855.

---
Co-authored-by: Andrea Leopardi <[email protected]>
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