Browse Source

Add a note that Log4J requires log path for file rotation

Closes gh-48524
3.4.x
Stéphane Nicoll 3 days ago
parent
commit
56e41d5877
  1. 1
      spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/features/logging.adoc

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

@ -166,6 +166,7 @@ The following table shows how the `logging.*` properties can be used together: @@ -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.

Loading…
Cancel
Save