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/09/09 18:46:08 UTC

[jira] [Commented] (LOG4J2-85) Replace ThreadContext.push(String msg) with push(String msg, Object args...)

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

Ralph Goers commented on LOG4J2-85:
-----------------------------------

As always, patches are welcome. And in your case, encouraged!
                
> Replace ThreadContext.push(String msg) with push(String msg, Object args...)
> ----------------------------------------------------------------------------
>
>                 Key: LOG4J2-85
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-85
>             Project: Log4j 2
>          Issue Type: Improvement
>            Reporter: Joern Huxhorn
>
> Provide the option to use similar message formatting like the usual log methods. The API is still alpha so we can safely replace the method.
> If NDC functionality would be disabled (see LOG4J2-84) then message formatting wouldn't be performed at all, thus being significantly faster than always composing the message.

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