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

Log JsonProcessingExceptions at WARN level by default #522

Conversation

sleberknight
Copy link
Member

Log JsonProcessingExceptions that do not meet specific criteria for logging specialized messages at WARN or ERROR level, log them as a generic "Unable to process JSON" at WARN level instead of at DEBUG level. This can aid in debugging problems.

Closes #519

Log JsonProcessingExceptions that do not meet specific criteria
for logging specialized messages at WARN or ERROR level, log
them as a generic "Unable to process JSON" at WARN level instead
of at DEBUG level. This can aid in debugging problems.

Closes #519
@sleberknight sleberknight self-assigned this Aug 1, 2024
Copy link

sonarqubecloud bot commented Aug 1, 2024

@sleberknight sleberknight merged commit 7fea074 into main Aug 1, 2024
5 checks passed
@sleberknight sleberknight deleted the 519-log-JSON-processing-errors-at-WARN-level-in-JsonExceptionMappers branch August 1, 2024 02:47
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.

Change JsonExceptionMappers to log JSON processing errors at WARN instead of DEBUG level
1 participant