Skip to content

Commit 45b62b1

Browse files
committed
Clarify transfer of logging props from Environment to System props
Closes gh-32160
1 parent 59c667c commit 45b62b1

File tree

1 file changed

+3
-1
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/asciidoc/features

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,9 @@ If you use standard configuration locations, Spring cannot completely control lo
307307
WARNING: There are known classloading issues with Java Util Logging that cause problems when running from an 'executable jar'.
308308
We recommend that you avoid it when running from an 'executable jar' if at all possible.
309309

310-
To help with the customization, some other properties are transferred from the Spring `Environment` to System properties, as described in the following table:
310+
To help with the customization, some other properties are transferred from the Spring `Environment` to System properties.
311+
This allows the properties to be consumed by logging system configuration. For example, setting `logging.file.name` in `application.properties` or `LOGGING_FILE_NAME` as an environment variable will result in the `LOG_FILE` System property being set.
312+
The properties that are transferred are described in the following table:
311313

312314
|===
313315
| Spring Environment | System Property | Comments

0 commit comments

Comments
 (0)