Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-1165

MDCFilter crashes with NPE when value is not set

    Details

      Description

      Currently, the `MDCFilter` fails with an `NullPointerException` if the filter value is not set. I think that filtering unset MDC values is a reasonable use case.

      A fix is submitted at https://github.com/qos-ch/logback/pull/316

        Attachments

          Activity

            People

            • Assignee:
              ceki Ceki Gülcü
              Reporter:
              msteiger Martin Steiger
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: