opentelemetry-java-instrume.../instrumentation/log4j/log4j-appender-2.17/javaagent
renovate[bot] b1eb1fd3d9
fix(deps): update dependency io.opentelemetry.semconv:opentelemetry-semconv to v1.30.0-rc.1 (#13116)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2025-01-30 14:18:43 -08:00
..
src fix(deps): update dependency io.opentelemetry.semconv:opentelemetry-semconv to v1.30.0-rc.1 (#13116) 2025-01-30 14:18:43 -08:00
README.md Log4j2: add option to fill code attributes (#12592) 2024-11-14 08:00:56 +02:00
build.gradle.kts Log4j2: add option to fill code attributes (#12592) 2024-11-14 08:00:56 +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-code-attributes Boolean false Enable the capture of source code attributes. Note that capturing source code attributes at logging sites might add a performance overhead.
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.