Remko Popma created LOG4J2-1292:
-----------------------------------
Summary: Update RandomAccessFileAppender to utilize gc-free Layout
method
Key: LOG4J2-1292
URL: https://issues.apache.org/jira/browse/LOG4J2-1292
Project: Log4j 2
Issue Type: Improvement
Components: Appenders, Layouts
Affects Versions: 2.5
Reporter: Remko Popma
Assignee: Remko Popma
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}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]