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

DEBUG: avoid backtrace dups. #5862

Closed

Conversation

alexey-tikhonov
Copy link
Member

In case the same error(s) is repeated again and again repeating the same
backtrace doesn't add much value. In this case let's add just a note.

In case the same error(s) is repeated again and again repeating the same
backtrace doesn't add much value. In this case let's add just a note.
@alexey-tikhonov
Copy link
Member Author

The way I tested this: set invalid host for ldap-provider and watch errors in the log during periodic attempts to reconnect/resolve.
This example is the reason I set SSS_DEBUG_BACKTRACE_LOCATIONS to 5 -- there are a bunch of different error messages for this scenario.

Copy link
Contributor

@thalman thalman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the patch, ACK

CI problems are not related to the PR

@pbrezina pbrezina added the Ready to push Ready to push label Nov 8, 2021
@pbrezina
Copy link
Member

pbrezina commented Nov 8, 2021

Pushed PR: #5862

  • master
    • bb8da43 - DEBUG: avoid backtrace dups.

@pbrezina pbrezina added Pushed and removed Accepted Ready to push Ready to push labels Nov 8, 2021
@pbrezina pbrezina closed this Nov 8, 2021
@alexey-tikhonov alexey-tikhonov deleted the backtrace-avoid-dups branch May 18, 2022 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants