opentelemetry-java-instrume.../instrumentation/log4j/log4j-appender-2.17/javaagent
Steven Swartz 12b1d3c369
Document configuration options for log4j2 appender library (#9079)
2023-07-31 10:49:10 +02:00
..
src Fix the main branch history (#8817) 2023-06-28 10:55:41 +00:00
README.md Document configuration options for log4j2 appender library (#9079) 2023-07-31 10:49:10 +02:00
build.gradle.kts Update the OpenTelemetry SDK version to 1.27.0 (#8688) 2023-06-13 12:02:11 +03: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 span 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-context-data-attributes String Comma separated list of context data attributes to capture. Use the wildcard character * to capture all attributes.