Clarify transfer of logging props from Environment to System props

Closes gh-32160
This commit is contained in:
Andy Wilkinson
2023-08-09 10:42:22 +01:00
parent 59c667caeb
commit 45b62b1452

View File

@@ -307,7 +307,9 @@ If you use standard configuration locations, Spring cannot completely control lo
WARNING: There are known classloading issues with Java Util Logging that cause problems when running from an 'executable jar'.
We recommend that you avoid it when running from an 'executable jar' if at all possible.
To help with the customization, some other properties are transferred from the Spring `Environment` to System properties, as described in the following table:
To help with the customization, some other properties are transferred from the Spring `Environment` to System properties.
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.
The properties that are transferred are described in the following table:
|===
| Spring Environment | System Property | Comments