Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.0.0.Beta4-jboss-logging
    • Fix Version/s: 3.0.0.GA
    • Component/s: jboss-logging-spi
    • Labels:
      None
    • Environment:

      64bit Linux, JDK1.6.0_23

    • Steps to Reproduce:
      Hide

      Include org.jboss.logging.MDC class in a test class, use MDC.put("user","this is a test") to add an entry to the MDC, write a log line then use MDC.remove("user") to remove the object from the MDC.

      Use the log pattern "%d %-5p [%c] (%t) [%X

      {user}

      %X

      {task}

      ] - %s%E%n" in the server log.

      Show
      Include org.jboss.logging.MDC class in a test class, use MDC.put("user","this is a test") to add an entry to the MDC, write a log line then use MDC.remove("user") to remove the object from the MDC. Use the log pattern "%d %-5p [%c] (%t) [%X {user} %X {task} ] - %s%E%n" in the server log.

      Description

      As per title, MDC entries do not appear in jboss log when using the log pattern "%d %-5p [%c] (%t) [%X

      {user}

      %X

      {task}

      ] - %s%E%n"

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dmlloyd David Lloyd
                Reporter:
                chris.jansen Chris Jansen
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: