opentelemetry-java-instrume.../instrumentation/log4j/log4j-appender-2.17/javaagent
Trask Stalnaker dab33810bb
Convert logging instrumentation tests to Java (#7631)
currently based on #7632
2023-01-24 15:18:39 -08:00
..
src Convert logging instrumentation tests to Java (#7631) 2023-01-24 15:18:39 -08:00
README.md Change log4j MapMessage attribute names (#7397) 2022-12-13 08:07:34 -08:00
build.gradle.kts Upgrade to otel java 1.19.0 (#6757) 2022-10-12 09:19:37 -07: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 List of context data attributes to capture. Use the wildcard character * to capture all attributes.