# Add java.util.logging to supported technologies list (documentation)

**URL:** <https://discuss.elastic.co/t/add-java-util-logging-to-supported-technologies-list-documentation/265624>\
**Category:** APM\
**Tags:** java\
**Created:** [February 26, 2021, 3:33pm UTC](https://discuss.elastic.co/t/add-java-util-logging-to-supported-technologies-list-documentation/265624 "2021-02-26T15:33:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NickWe](https://avatars.discourse-cdn.com/v4/letter/n/48db29/32.png) [@NickWe](https://discuss.elastic.co/u/NickWe)\
**Post date:** [February 26, 2021, 3:33pm UTC](https://discuss.elastic.co/t/add-java-util-logging-to-supported-technologies-list-documentation/265624/1 "2021-02-26T15:33:17Z")

</div>

Hi,

Since [Release 0.5.0](https://github.com/elastic/ecs-logging-java/releases/tag/v0.5.0) of the Java ECS formatter `enable_log_correlation` is working with Java Util Logging as well, provided that SLF4J is on the classpath as a MDC supplier.

Maybe the documentation can be updated to reflect this. Something like this:

When [`enable_log_correlation`](https://www.elastic.co/guide/en/apm/agent/java/current/config-logging.html#config-enable-log-correlation) is set to `true` , the agent will add a [MDC](https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/MDC.html) entry for `trace.id` and `transaction.id` . Provided that slf4j is on the classpath. See the [`enable_log_correlation`](https://www.elastic.co/guide/en/apm/agent/java/current/config-logging.html#config-enable-log-correlation) configuration option for more details.

---

<div class="post-metadata">

**Author:** ![Eyal\_Koren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eyal_koren/32/36830_2.png) [@Eyal\_Koren](https://discuss.elastic.co/u/Eyal_Koren)\
**Post date:** [February 28, 2021, 7:31am UTC](https://discuss.elastic.co/t/add-java-util-logging-to-supported-technologies-list-documentation/265624/2 "2021-02-28T07:31:45Z")

</div>

Thanks for the suggestion @NickWe .  
I believe adding JUL to the [supported technologies page](https://www.elastic.co/guide/en/apm/agent/java/current/supported-technologies-details.html#supported-logging-frameworks) would be only misleading instead of clarifying. JUL is not supported, so if you rely on the agent to instrument this framework you will be disappointed. The agent does instrument slf4j, which is a facade for the underlying logging framework, implying that it will work with anything that uses the slf4j MDC, even if it is a logging framework you wrote yourself.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 21, 2021, 3:32am UTC](https://discuss.elastic.co/t/add-java-util-logging-to-supported-technologies-list-documentation/265624/3 "2021-03-21T03:32:33Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
