From 504fd62472b74936b2c75fdff1f459fe555ca003 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 11 Sep 2024 14:02:55 +0100 Subject: [PATCH] Update the link to Log4j2's system properties documentation Closes gh-42262 --- .../spring-boot-docs/src/docs/asciidoc/features/logging.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/logging.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/logging.adoc index 1d90d2d771c..d4cc383ced2 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/logging.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/logging.adoc @@ -554,7 +554,7 @@ NOTE: The lookup key should be specified in kebab case (such as `my.property-nam [[features.logging.log4j2-extensions.environment-property-source]] ==== Log4j2 System Properties -Log4j2 supports a number of https://logging.apache.org/log4j/2.x/manual/configuration.html#SystemProperties[System Properties] that can be used to configure various items. +Log4j2 supports a number of https://logging.apache.org/log4j/2.x/manual/systemproperties.html[System Properties] that can be used to configure various items. For example, the `log4j2.skipJansi` system property can be used to configure if the `ConsoleAppender` will try to use a https://github.com/fusesource/jansi[Jansi] output stream on Windows. All system properties that are loaded after the Log4j2 initialization can be obtained from the Spring `Environment`.