[ https://issues.apache.org/jira/browse/LOG4J2-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ralph Goers updated LOG4J2-85: ------------------------------ Comment: was deleted (was: I have added support for setting system properties named "disableThreadContext", "disableThreadContextMap" , and "disableThreadContextStack". If disableThreadContext is set to true, pushes and puts will be ignored and no HashMaps or ContextStacks will be created. Similarly, if disableThreadContextMap is set to true then puts to the ThreadContextMap will be ignored and no Map will be created. Finally, if disableThreadContextStack is set to true then pushes will be ignored and no ContextStack will be created. When these properties are set the ThreadLocals will still be created but will never have any values in them.) > 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 > Assignee: Ralph Goers > Fix For: 2.0-beta2 > > > 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-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org