[
https://issues.apache.org/jira/browse/LOG4J2-1292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Remko Popma updated LOG4J2-1292:
--------------------------------
Fix Version/s: 2.6
> 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
> Fix For: 2.6
>
>
> 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]