File tree Expand file tree Collapse file tree
instrumentation/log4j/log4j-appender-2.17 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,33 +6,42 @@ 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-code-attributes
15+ declarative_name : java.log4j_appender.capture_code_attributes/development
1416 description : >
1517 Enables the capture of code location attributes, including file path, class name, method
1618 name, and line number.
1719 type : boolean
1820 default : false
1921 - name : otel.instrumentation.log4j-appender.experimental.capture-map-message-attributes
22+ declarative_name : java.log4j_appender.capture_map_message_attributes/development
2023 description : >
2124 Enables the capture of attributes from Log4j MapMessage instances.
2225 type : boolean
2326 default : false
2427 - name : otel.instrumentation.log4j-appender.experimental.capture-marker-attribute
28+ declarative_name : java.log4j_appender.capture_marker_attribute/development
2529 description : >
2630 Enables the capture of the Log4j marker attribute.
2731 type : boolean
2832 default : false
2933 - name : otel.instrumentation.log4j-appender.experimental.capture-mdc-attributes
34+ declarative_name : java.log4j_appender.capture_mdc_attributes/development
3035 description : >
3136 Controls which MDC attributes to capture. Use "*" to capture all MDC attributes or provide a
3237 comma-separated list of specific keys.
3338 type : list
3439 default : ' '
40+ examples :
41+ - " custom-mdc-key"
42+ - " key1,key2,key3"
3543 - name : otel.instrumentation.log4j-appender.experimental.capture-event-name
44+ declarative_name : java.log4j_appender.capture_event_name/development
3645 description : >
3746 Enables the capture of the event name from the MDC attribute "event.name" and sets it as the
3847 log record's event name.
You can’t perform that action at this time.
0 commit comments