Skip to content

Commit a3423f1

Browse files
inomagsnicoll
authored andcommitted
Fix log4j2 file name reference in reference doc
See gh-28189
1 parent b7a2a2d commit a3423f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2174,7 +2174,7 @@ As a result, specific configuration keys (such as `logback.configurationFile` fo
21742174
[[boot-features-logging-file-rotation]]
21752175
=== File Rotation
21762176
If you are using the Logback, it's possible to fine-tune log rotation settings using your `application.properties` or `application.yaml` file.
2177-
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).
2177+
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).
21782178

21792179
The following rotation policy properties are supported:
21802180

0 commit comments

Comments
 (0)