Description
When using the async appender combined with the JsonLayout, you only get the results of the message being written to the appender.
I took a look at it seems like this is because RingBufferLogEvent implements ReusableMessage which is where jackson gets the MessageSerializer, whereas the non async LogEvent doesn't, so it gets the BeanSerializer
Attached are traces, both of which originating from the MessageSerializer.serialize method
Attachments
Attachments
Issue Links
- is duplicated by
-
LOG4J2-2341 JsonLayout not working with AsyncLoggerContextSelector in 2.11.0
- Closed
- links to