Hello, For the records, PatternLayout#serialize(LogEvent,StringBuilder) falls back to AbstractStringLayout#toSerializable(LogEvent,StringBuilder) which consequently passes the ball to toSerializable(LogEvent), which is not garbage-free. This is an obstacle for certain layouts (e.g., Gelf, JsonTemplate) that try to incorporate PatternLayout and strive to stay garbage-free. Do/Shall we have plans to improve this?
Kind regards.