Description
LOG4J2-1274 added the encode(LogEvent, ByteBufferDestination) method to Layout. Appenders implementing the ByteBufferDestination interface can call Layout.encode. This enables Layout implementations to to process LogEvents without creating temporary objects.
This ticket is to track the work for letting RandomAccessFileAppender (and its Rolling variant) implement the ByteBufferDestination interface and call Layout.encode instead of Layout.toByteArray.
Attachments
Issue Links
- depends upon
-
LOG4J2-1274 Layout improvements to enable avoiding temporary object allocation
- Closed