opentelemetry-java-instrume.../instrumentation/log4j/log4j-appender-2.17/javaagent
Lauri Tulmin cafbcfc198
Fix log4j-appender-2.17 latest dep tests (#9915)
2023-11-20 15:35:37 -08:00
..
src Ability to instrument logs before OTel injection into OTel appenders (#9798) 2023-11-17 10:03:17 -08:00
README.md Fix spec links (#9603) 2023-10-04 17:54:35 +03:00
build.gradle.kts Fix log4j-appender-2.17 latest dep tests (#9915) 2023-11-20 15:35:37 -08: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.