Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-85

Replace ThreadContext.push(String msg) with push(String msg, Object args...)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0-beta2
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            rgoers Ralph Goers
            huxi Joern Huxhorn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: