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 2017/02/18 05:23:44 UTC
[jira] [Assigned] (LOG4J2-1760) AsyncAppender with
LinkedTransferQueue.offer()
[ https://issues.apache.org/jira/browse/LOG4J2-1760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Remko Popma reassigned LOG4J2-1760:
-----------------------------------
Assignee: Remko Popma
> AsyncAppender with LinkedTransferQueue.offer()
> ----------------------------------------------
>
> Key: LOG4J2-1760
> URL: https://issues.apache.org/jira/browse/LOG4J2-1760
> Project: Log4j 2
> Issue Type: Improvement
> Components: Appenders
> Affects Versions: 2.7
> Reporter: Addison Walterson
> Assignee: Remko Popma
> Priority: Minor
> Fix For: 2.8.1
>
>
> I suggest that the AsyncAppender can use a LinkedTransferQueue for which offer() is used to enqueue messages because tryTransfer() only succeeds if the receiving thread waits for a message which means that the queue has length 0.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org