This documentation has an index for AI agents at /llms.txt. A Markdown version of this page is available at https://explorer.opentelemetry.io/java-agent/instrumentation/java-util-logging.md.

Java Util Logging (JUL)

OpenTelemetry Java agent instrumentation

This instrumentation bridges Java Util Logging (JUL) log records to OpenTelemetry logs.

  • Name: java-util-logging
  • Scope: io.opentelemetry.java-util-logging
  • Library: https://docs.oracle.com/en/java/javase/11/docs/api/java.logging/java/util/logging/package-summary.html

Configuration

OptionTypeDefaultDescription
otel.instrumentation.java-util-logging.experimental-log-attributesbooleanfalseEnables capturing the experimental thread.name and thread.id log attributes.
otel.instrumentation.java-util-logging.experimental.capture-argumentsbooleanfalseEnables the capture of the log message arguments.
otel.instrumentation.java-util-logging.experimental.capture-templatebooleanfalseEnables the capture of the log message template (if arguments are provided).

Data

  • JSON: /data/javaagent/instrumentations/java-util-logging/java-util-logging-794285fd7d5d.json
  • Explore: /java-agent/instrumentation/java-util-logging