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/12 03:34:18 UTC
[jira] [Created] (LOG4J2-1269) AsyncLogger should use thread-local
translator by default
Remko Popma created LOG4J2-1269:
-----------------------------------
Summary: AsyncLogger should use thread-local translator by default
Key: LOG4J2-1269
URL: https://issues.apache.org/jira/browse/LOG4J2-1269
Project: Log4j 2
Issue Type: Bug
Components: Core
Affects Versions: 2.5
Reporter: Remko Popma
Assignee: Remko Popma
Fix For: 2.6
Bug in the fix for LOG4J2-1172.
The current default is to use a vararg translator. This was intended to only be used in web containers.
The fix is to change
{code}
//AsyncLoggerDisruptor
private boolean useThreadLocalTranslator;
{code}
to
{code}
private boolean useThreadLocalTranslator = true;
{code}
--
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