Commit 2ba2bddc authored by Andy Wilkinson's avatar Andy Wilkinson

Add note to docs about configuration of Log4j 2's JDK logging adapter

Closes gh-11660
parent 9da6ddb2
...@@ -1653,6 +1653,11 @@ requirements (e.g. including having Tomcat use `java.util.logging` but configuri ...@@ -1653,6 +1653,11 @@ requirements (e.g. including having Tomcat use `java.util.logging` but configuri
output using Log4j 2). See the Actuator Log4j 2 samples for more detail and to see it in output using Log4j 2). See the Actuator Log4j 2 samples for more detail and to see it in
action. action.
NOTE: To ensure that debug logging performed using `java.util.logging` is routed into
Log4j 2, configure its https://logging.apache.org/log4j/2.0/log4j-jul/index.html[JDK
logging adapter] by setting the `java.util.logging.manager` system property to
`org.apache.logging.log4j.jul.LogManager`.
[[howto-configure-log4j-for-logging-yaml-or-json-config]] [[howto-configure-log4j-for-logging-yaml-or-json-config]]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment