Uploaded image for project: 'JBoss Log Manager'
  1. JBoss Log Manager
  2. LOGMGR-364

Support retrieving object-valued MDC in `ExtLogRecord`

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • None

      In LOGMGR-85 you added support for object values in MDC, but it does so by simply calling `toString()` on any object-valued MDC key values. For structured logging, (e.g. JSON)  we would like to preserve the type of the value.

       

      Can we introduce something like `ExtLogRecord#getMdcCopy` that returns `Map<String, Object>`?

              Unassigned Unassigned
              snelson21 Samuel Nelson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: