You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Remko Popma (JIRA)" <ji...@apache.org> on 2016/02/21 16:23:18 UTC

[jira] [Closed] (LOG4J2-1292) Update RandomAccessFileAppender to utilize gc-free Layout method

     [ https://issues.apache.org/jira/browse/LOG4J2-1292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Remko Popma closed LOG4J2-1292.
-------------------------------

> 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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org