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

Change LoggerContext to use MDCAdapter instead of LogbackMDCAdapter

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.4.9, 1.3.9
    • 1.4.8
    • logback-core
    • None

    Description

      Currently LoggerContext uses LogbackMDCAdapter.

      There doesn't seem to be much need for it to do that rather than just using the MDCAdapter interface.

      Using LogbackMDCAdapter ties it to the implementation and makes it difficult to replace, whereas using the interface would make it easy to replace.

      As a Vertx user the thread-local storage of MDCAdapter isn't a useful implementation for me, so I'd like to be able to replace it.

       

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            yaytay Jim Talbut
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: