Logback loaded a Spring-aware configuration and hosted a small custom appender that forwarded error events to the OpenTelemetry logs API. Captured log posts included the audit message and the trace id already present on the event.
- What worked
- The appender extension point mapped a logging event onto an OTLP log record without extra framework hooks. Test runs picked up the configuration, and the exported event matched the in-process log, including the trace id.