File tree Expand file tree Collapse file tree
instrumentation/log4j/log4j-appender-1.2 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,23 +6,30 @@ features:
66 - LOGGING_BRIDGE
77configurations :
88 - name : otel.instrumentation.log4j-appender.experimental-log-attributes
9+ declarative_name : java.log4j_appender.experimental_log_attributes/development
910 description : >
1011 Enables the capture of experimental log attributes, including thread name and thread ID.
1112 type : boolean
1213 default : false
1314 - name : otel.instrumentation.log4j-appender.experimental.capture-mdc-attributes
15+ declarative_name : java.log4j_appender.capture_mdc_attributes/development
1416 description : >
1517 Controls which MDC attributes to capture. Use "*" to capture all MDC attributes or provide a
1618 comma-separated list of specific keys.
1719 type : list
1820 default : ' '
21+ examples :
22+ - " custom-mdc-key"
23+ - " key1,key2,key3"
1924 - name : otel.instrumentation.log4j-appender.experimental.capture-code-attributes
25+ declarative_name : java.log4j_appender.capture_code_attributes/development
2026 description : >
2127 Enables the capture of code location attributes, including file path, class name, method
2228 name, and line number.
2329 type : boolean
2430 default : false
2531 - name : otel.instrumentation.log4j-appender.experimental.capture-event-name
32+ declarative_name : java.log4j_appender.capture_event_name/development
2633 description : >
2734 Enables the capture of the event name from the MDC attribute "event.name" and sets it as the
2835 log record's event name.
You can’t perform that action at this time.
0 commit comments