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

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-beta2
    • Component/s: None
    • Labels:
      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

            • Assignee:
              ralph.goers@dslextreme.com Ralph Goers
              Reporter:
              huxi Joern Huxhorn
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: