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 "Steven Grossman (JIRA)" <ji...@apache.org> on 2014/11/18 04:46:33 UTC

[jira] [Created] (LOG4J2-898) Format messages asynchronously

Steven Grossman created LOG4J2-898:
--------------------------------------

             Summary: Format messages asynchronously
                 Key: LOG4J2-898
                 URL: https://issues.apache.org/jira/browse/LOG4J2-898
             Project: Log4j 2
          Issue Type: Improvement
    Affects Versions: 2.1, 2.0.2
            Reporter: Steven Grossman


Formatting a message can be an expensive operation (e.g. String.format) and it is undesirable for it to be done in the calling thread when using an async logger or appender.

LOG4J2-763 moved this work to the calling thread.  Would you consider bringing back the previous behavior via a config/system property?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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