Log4j 2
  1. Log4j 2
  2. LOG4J2-83

Please provide means to disable MDC functionality on a global level.

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-beta2
    • Component/s: None
    • Labels:
      None

      Description

      Disabling MDC evaluation can have drastic effects on event size while sending them over the wire or dumping them to disk.

      When disabled, all calls to MDC-related methods will instead call NOP implementations, i.e. no ThreadLocals would be used at all.

        Issue Links

          Activity

          Joern Huxhorn made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Paul Benedict made changes -
          Link This issue relates to LOG4J2-84 [ LOG4J2-84 ]
          Ralph Goers made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Ralph Goers [ ralph.goers@dslextreme.com ]
          Fix Version/s 2.0-beta2 [ 12323283 ]
          Resolution Fixed [ 1 ]
          Joern Huxhorn created 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