Browse Source

Merge pull request #39163 from Wzy19930507

* gh-39163:
  Update link to docs for Log4j 2's JDK logging adapter

Closes gh-39163
pull/39395/head
Andy Wilkinson 2 years ago
parent
commit
c416712427
  1. 2
      spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/logging.adoc

2
spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/logging.adoc

@ -164,7 +164,7 @@ To do so, declare a dependency on the Log4j 2 starter and tell Gradle that any o @@ -164,7 +164,7 @@ To do so, declare a dependency on the Log4j 2 starter and tell Gradle that any o
NOTE: The Log4j starters gather together the dependencies for common logging requirements (such as having Tomcat use `java.util.logging` but configuring the output using Log4j 2).
NOTE: To ensure that debug logging performed using `java.util.logging` is routed into Log4j 2, configure its https://logging.apache.org/log4j/2.x/log4j-jul/index.html[JDK logging adapter] by setting the `java.util.logging.manager` system property to `org.apache.logging.log4j.jul.LogManager`.
NOTE: To ensure that debug logging performed using `java.util.logging` is routed into Log4j 2, configure its https://logging.apache.org/log4j/2.x/log4j-jul.html[JDK logging adapter] by setting the `java.util.logging.manager` system property to `org.apache.logging.log4j.jul.LogManager`.

Loading…
Cancel
Save