Skip to content

Epic/create charge#4

Merged
lmoraesdev merged 2 commits into
mainfrom
epic/create-charge
Jun 4, 2026
Merged

Epic/create charge#4
lmoraesdev merged 2 commits into
mainfrom
epic/create-charge

Conversation

@lmoraesdev
Copy link
Copy Markdown
Owner

No description provided.

Replace manual Jackson serialization with SLF4J 2.0 key-value API and
Spring Boot 3.4+ native ECS encoder. Each log line is now a proper JSON
object — no more JSON-inside-text.

- Log5w1h: remove traceId, spanId, when (handled by encoder/MDC);
  change who/what from Object to String to prevent accidental PII leaks
- Logger5w1h: drop ObjectMapper, use logger.atLevel().addKeyValue() API
- Logger5w1hBuilder: remove when field/setter and LocalDateTime capture;
  remove Object overloads for who/what
- application.yml: replace pattern.console with logging.structured.format.console=ecs
@lmoraesdev lmoraesdev merged commit 3331f8f into main Jun 4, 2026
2 checks passed
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.

1 participant