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-1343) Update ConsoleAppender to utilize gc-free Layout method
Date Wed, 06 Apr 2016 18:19:25 GMT

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

Remko Popma resolved LOG4J2-1343.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.6

Fixed in master.

The garbage-free layout mechanism is reusable by all subclasses of AbstractOutputStreamAppender.

SocketAppenders are explicitly excluded:
* problem with TCP: synchronization on manager in Reconnector thread would give deadlock.
* problem with UDP: 8K buffer size means that largish messages get broken up and sent separately
into smaller chunks

Both problems are not impossible to solve, I'm just not going to attempt this right now.

> Update ConsoleAppender to utilize gc-free Layout method
> -------------------------------------------------------
>
>                 Key: LOG4J2-1343
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1343
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Appenders
>    Affects Versions: 2.5
>            Reporter: Remko Popma
>            Assignee: Remko Popma
>             Fix For: 2.6
>
>
> TBD: would we want to include this in the upcoming 2.6 release?



--
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