logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remko Popma (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LOG4J2-1292) Update RandomAccessFileAppender to utilize gc-free Layout method
Date Sun, 21 Feb 2016 15:23:18 GMT

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

Remko Popma resolved LOG4J2-1292.
---------------------------------
    Resolution: Fixed

Fixed in master in commit 6a0c2e6.

> 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


Mime
View raw message