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

logback-access: Enable MDC support

    XMLWordPrintable

Details

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • 1.5.7
    • None
    • logback-access
    • None

    Description

      As of version logback-access:1.1.2, there does not appear to be MDC support.

      Example:

          <pattern>%h %l %u [%t] "%r" %s %b "%i{Referer}" "%i{User-Agent}" %X{TRACER} %D</pattern>
      

      %X is not a known pattern component, as shown in the resulting access log:

          %PARSER_ERROR[X]
      

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            emailchaos Justin Posey
            Votes:
            17 Vote for this issue
            Watchers:
            20 Start watching this issue

            Dates

              Created:
              Updated: