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

MDC properties sometimes were empty (DBAppender)

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major Major
    • None
    • 0.9.30
    • None
    • None
    • win xp, jdk1.6.0_22, weblogic 10.3.4

    Description

      I put the userId and userName into MDC while login, but sometimes it was not written to DB.
      After debug I found that while the actual type of "event.getMDCPropertyMap()" is Collections$SynchronizedMap, MDC was not empty; but when it return HashMap, then MDC is empty.

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            linhao315 Bryan Lin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: