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

Support MDC propagation between threads

    XMLWordPrintable

Details

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • Asynchronous applications

    Description

      That would be very useful if logback/slf4j could provide a set of delegates for JDK's ExecutorService.

      They should be responsible to handle the MDC propagation between threads:

      • when the job is submitted, save the MDC content
      • when the job is actually executed, restore the MDC content

      Attachments

        Activity

          People

            logback-dev Logback dev list
            sauthieg Guillaume Sauthier
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: