{
  "configurations": [
    {
      "declarative_name": "java.common.logging.span_id_key",
      "default": "span_id",
      "description": "Specifies the key name used to store the span ID in the logging context.",
      "name": "otel.instrumentation.common.logging.span-id-key",
      "type": "string"
    },
    {
      "declarative_name": "java.common.logging.trace_flags_key",
      "default": "trace_flags",
      "description": "Specifies the key name used to store the trace flags in the logging context.",
      "name": "otel.instrumentation.common.logging.trace-flags-key",
      "type": "string"
    },
    {
      "declarative_name": "java.common.logging.trace_id_key",
      "default": "trace_id",
      "description": "Specifies the key name used to store the trace ID in the logging context.",
      "name": "otel.instrumentation.common.logging.trace-id-key",
      "type": "string"
    },
    {
      "declarative_name": "java.common.mdc.resource_attributes",
      "default": "",
      "description": "Specifies which resource attributes to add to the logging context as a comma-separated list of attribute keys.",
      "name": "otel.instrumentation.common.mdc.resource-attributes",
      "type": "list"
    }
  ],
  "description": "This instrumentation adds trace context (trace ID, span ID, and trace flags) to the Log4j MDC, it does not emit any telemetry on its own.",
  "display_name": "Log4j",
  "has_javaagent": true,
  "javaagent_target_versions": [
    "log4j:log4j:[1.2,)"
  ],
  "library_link": "https://logging.apache.org/log4j/1.2/",
  "name": "log4j-mdc-1.2",
  "scope": {
    "name": "io.opentelemetry.log4j-mdc-1.2"
  },
  "source_path": "instrumentation/log4j/log4j-mdc-1.2"
}