Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-9480

MDC custom properties logging not visible from Hawtio Console

XMLWordPrintable

    • 0
    • 0% 0%
    • Todo
    • Fuse 7.3 Sprint 40 - Dev #1

      When enabled custom MDC logger, we can see on the appropiate log file, an entry like

       INFO  JmsConsumer[foo]  route1                           232 - org.apache.camel.camel-core - 2.17.0.redhat-630187  -- {{CUSTOM_KEY,CUSTOM_VALUE}{bundle.id,232}{bundle.name,org.apache.camel.camel-core}{bundle.version,2.17.0.redhat-630187}} hello MDC
      hello MDC
      

      But Hawtio logger doesn't show this entry; instead it shows

       INFO  JmsConsumer[foo]  route1                           232 - org.apache.camel.camel-core - 2.17.0.redhat-630347 hello MDC
      

        1. hawtio log query.png
          hawtio log query.png
          62 kB
        2. log-mdc-properties.png
          log-mdc-properties.png
          69 kB
        3. TestCase.zip
          7 kB

              rhn-support-tasato Tadayoshi Sato
              rhn-support-anarvaez Alfredo Narvaez
              Lucia Drozdova Lucia Drozdova (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: