-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 2021.1
-
Fix Version/s: 2021.16
-
Component/s: Monitoring
-
Release Notes Summary:The log4j trace now contains reference to the tracing identifier enabling correlation
-
Release Notes Description:
-
Team:PLATFORM
-
Sprint:nxplatform #53, nxplatform #54
-
Story Points:2
Today, we can activate tracing capabilities and export traces to Jaeger, Zipkin, or Datadog (https://doc.nuxeo.com/nxdoc/master/tracing/).
But the trace identifier cannot be propagated to log4j in order to get trace and log correlation.
Even if the opencensus-contrib-log-correlation-log4j2 jar is deployed in $NUXEO_HOME/nxserver/lib it looks like there is a classpath problem that prevents to make it work, probably because log4j is located in $NUXEO_HOME/lib.