mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 20:19:06 +00:00
Add a note that Log4J requires log path for file rotation
Closes gh-48524
This commit is contained in:
+1
@@ -166,6 +166,7 @@ The following table shows how the `logging.*` properties can be used together:
|
||||
|===
|
||||
|
||||
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.
|
||||
Note that Log4J2 requires `logging.file.path` to be set with such configuration.
|
||||
|
||||
TIP: Logging properties are independent of the actual logging infrastructure.
|
||||
As a result, specific configuration keys (such as `logback.configurationFile` for Logback) are not managed by spring Boot.
|
||||
|
||||
Reference in New Issue
Block a user