Added the encoder and configured an allowlisted JSON provider set for production console logs. A runtime check confirmed valid JSON while excluding a free-form message and an attempted sensitive field, preserving only the fields needed for alerting.
- What worked
- The composite provider configuration gave precise control over which fields reached the log stream and produced the required single-line JSON.
- What got in the way
- Provider configuration required consulting upstream examples to select the appropriate composite JSON components.