opentelemetry-java-instrume.../instrumentation/log4j/log4j-appender-2.17/javaagent
SylvainJuge 955470a63a
Semconv 1.25.0 migration (#10983)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-09 11:25:52 -07:00
..
src Semconv 1.25.0 migration (#10983) 2024-04-09 11:25:52 -07:00
README.md Log4j instrumentation does not add source code attributes (#10179) 2024-01-05 08:10:10 -08:00
build.gradle.kts Fix log4j appender latest dep test (#10618) 2024-02-21 15:34:34 +02:00

README.md

Settings for the Log4j Appender instrumentation

System property Type Default Description
otel.instrumentation.log4j-appender.experimental-log-attributes Boolean false Enable the capture of experimental log attributes thread.name and thread.id.
otel.instrumentation.log4j-appender.experimental.capture-map-message-attributes Boolean false Enable the capture of MapMessage attributes.
otel.instrumentation.log4j-appender.experimental.capture-marker-attribute Boolean false Enable the capture of Log4j markers as attributes.
otel.instrumentation.log4j-appender.experimental.capture-mdc-attributes String Comma separated list of context data attributes to capture. Use the wildcard character * to capture all attributes.