Skip to content

Commit 56e41d5

Browse files
committed
Add a note that Log4J requires log path for file rotation
Closes gh-48524
1 parent 6cbe9a4 commit 56e41d5

File tree

1 file changed

+1
-0
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/features

1 file changed

+1
-0
lines changed

spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/features/logging.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ The following table shows how the `logging.*` properties can be used together:
166166
|===
167167

168168
Log files rotate when they reach 10 MB and, as with console output, `ERROR`-level, `WARN`-level, and `INFO`-level messages are logged by default.
169+
Note that Log4J2 requires `logging.file.path` to be set with such configuration.
169170

170171
TIP: Logging properties are independent of the actual logging infrastructure.
171172
As a result, specific configuration keys (such as `logback.configurationFile` for Logback) are not managed by spring Boot.

0 commit comments

Comments
 (0)