Log4j 2
  1. Log4j 2
  2. LOG4J2-85

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Ralph Goers
            Reporter:
            Joern Huxhorn
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development