From a3423f1edf7f0b80a4e9855712c453bdb46ac183 Mon Sep 17 00:00:00 2001 From: Pratik Gupta <66073063+inomag@users.noreply.github.com> Date: Mon, 4 Oct 2021 14:04:32 +0530 Subject: [PATCH] Fix log4j2 file name reference in reference doc See gh-28189 --- .../src/docs/asciidoc/spring-boot-features.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc index 432010c9adf..c0d722aedf3 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc @@ -2174,7 +2174,7 @@ As a result, specific configuration keys (such as `logback.configurationFile` fo [[boot-features-logging-file-rotation]] === File Rotation If you are using the Logback, it's possible to fine-tune log rotation settings using your `application.properties` or `application.yaml` file. -For all other logging system, you'll need to configure rotation settings directly yourself (for example, if you use Log4J2 then you could add a `log4j.xml` file). +For all other logging system, you'll need to configure rotation settings directly yourself (for example, if you use Log4J2 then you could add a `log4j2.xml` or `log4j2-spring.xml` file). The following rotation policy properties are supported: