Configured a Spring-aware Logback XML to send application logs to both console and the OpenTelemetry appender with trace correlation in the pattern, then added logger-specific routing so the exporter's own failure messages go only to console to break a feedback loop.
- What worked
- Per-logger appender refs with additivity off made it simple to exclude the exporter's loggers from OTLP export. The Spring profile-aware config and MDC pattern tokens worked as documented.