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 "Ralph Goers (JIRA)" <ji...@apache.org> on 2012/10/13 19:54:02 UTC

[jira] [Commented] (LOG4J2-83) Please provide means to disable MDC functionality on a global level.

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

Ralph Goers commented on LOG4J2-83:
-----------------------------------

Please verify the fix and close it. If it doesn't fully implement what is required feel free to reopen it.
                
> Please provide means to disable MDC functionality on a global level.
> --------------------------------------------------------------------
>
>                 Key: LOG4J2-83
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-83
>             Project: Log4j 2
>          Issue Type: New Feature
>            Reporter: Joern Huxhorn
>            Assignee: Ralph Goers
>             Fix For: 2.0-beta2
>
>
> Disabling MDC evaluation can have drastic effects on event size while sending them over the wire or dumping them to disk.
> When disabled, all calls to MDC-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