In a spring boot app, with Open Telemetry, when you have no logback.xml or logback-spring.xml there are console logs that include the traceId and spanId values.
I need to add an OpenTelemetryAppender, and thus I have to add a configuration file. This means I have to specify both OpenTelemetryAppender and ConsoleAppender, but ConsoleAppender needs an encoder and a pattern.
I don't want to change the pattern, I want to keep the existing pattern.
How could I do this?
Every attempt to specify no pattern fails with errors. Every example pattern I have found searching leaves out traceId and spanId.