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

Reduce logging of known+handled cases #472

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

tatu-at-datastax
Copy link
Contributor

What this PR does:

Excessive logging noticed during unit test run; client-side problems (like invalid operation parameters caught by validation) were being logged at warning level, along with full stack trace.
This PR removes logging in case of known handled exception (JsonApiException) and only log otherwise unhandled cases.

Which issue(s) this PR fixes:

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CLA Signed: DataStax CLA

@tatu-at-datastax tatu-at-datastax self-assigned this Jul 26, 2023
@tatu-at-datastax tatu-at-datastax requested a review from a team as a code owner July 26, 2023 16:08
@maheshrajamani maheshrajamani merged commit 5364d5b into main Jul 26, 2023
@maheshrajamani maheshrajamani deleted the tatu/reduce-noisy-logging branch July 26, 2023 18:12
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