Evgeniy Zuikin 2ee4ee116d Remove mdc attributes prefix (#9536) 1 year ago
..
src 2ee4ee116d Remove mdc attributes prefix (#9536) 1 year ago
README.md d0efffd7c5 Log4j instrumentation does not add source code attributes (#10179) 1 year ago
build.gradle.kts 325477e6f6 log4j MDC attribute capture configuration (#10054) 1 year ago

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.