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-85) Replace ThreadContext.push(String msg) with push(String msg, Object args...)
Date Mon, 24 Sep 2012 14:48:07 GMT

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

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

OK - So push(String msg, Object args...) is just a wrapper around push(String msg).  As I
said in LOG4J2-83 and LOG4J2-84, I am not convinced that disabling the NDC itself is a good
idea.
                
> 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


Mime
View raw message