logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Goers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-84) Please provide means to disable NDC functionality on a global level.
Date Tue, 25 Sep 2012 02:49:07 GMT

    [ https://issues.apache.org/jira/browse/LOG4J2-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462380#comment-13462380

Ralph Goers commented on LOG4J2-84:

I have commit the change in revision 1389690 as described above. The stack in the LogEvent
is now immutable and is null if the ThreadContext stack is empty.
> Please provide means to disable NDC functionality on a global level.
> --------------------------------------------------------------------
>                 Key: LOG4J2-84
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-84
>             Project: Log4j 2
>          Issue Type: New Feature
>            Reporter: Joern Huxhorn
> Disabling NDC evaluation can have drastic effects on event size while sending them over
the wire or dumping them to disk.
> When disabled, all calls to NDC-related methods will instead call NOP implementations,
i.e. no ThreadLocals would be used at all.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org

View raw message