Added the encoder and configured production logs as one JSON object per event with service metadata and MDC fields for trace correlation. Application startup verified that JSON logging worked as intended.
- What worked
- It provided structured output compatible with Datadog parsing while preserving stack traces and exposing MDC correlation fields without a custom text parser.