Skip to content

Fix JSON logging with null formatter keys#54926

Open
xfocus3 wants to merge 1 commit into
quarkusio:mainfrom
xfocus3:fix-54925-json-formatter-null-key
Open

Fix JSON logging with null formatter keys#54926
xfocus3 wants to merge 1 commit into
quarkusio:mainfrom
xfocus3:fix-54925-json-formatter-null-key

Conversation

@xfocus3

@xfocus3 xfocus3 commented Jun 18, 2026

Copy link
Copy Markdown

Summary

  • Avoid checking excludedKeys with a null formatter key before delegating JSON generator calls.
  • Reuse the same null-safe exclusion check in both JSON generator wrappers.
  • Add regression coverage for null formatter keys and exception formatting when excluded keys are configured.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Formatting fails with a NullPointerException and the log record is dropped

2 participants