Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-2588

Add support for slf4j MDC in log message

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Commons Log 3.0.0
    • Commons Log 4.0.0
    • Commons
    • None

    Description

      Commons log is missing a way to include slf4j Mapped Diagnostic Context (MDC) values in the log message format. The usual syntax used by log4j/logback is X

      {MDC-key}

      .

      http://logback.qos.ch/manual/mdc.html

      Attachments

        Activity

          People

            chetanm Chetan Mehrotra
            tnarake Timo Naroska
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: