Add properties for logging charsets
Add `logging.charset.console` and `logging.charset.file` properties that can be used to configure charsets for Logback/Log4J2. Closes gh-23827
This commit is contained in:
@@ -2204,10 +2204,18 @@ To help with the customization, some other properties are transferred from the S
|
||||
| `LOG_DATEFORMAT_PATTERN`
|
||||
| Appender pattern for log date format.
|
||||
|
||||
| configprop:logging.charset.console[]
|
||||
| `CONSOLE_LOG_CHARSET`
|
||||
| The charset to use for console logging.
|
||||
|
||||
| configprop:logging.pattern.file[]
|
||||
| `FILE_LOG_PATTERN`
|
||||
| The log pattern to use in a file (if `LOG_FILE` is enabled).
|
||||
|
||||
| configprop:logging.charset.file[]
|
||||
| `FILE_LOG_CHARSET`
|
||||
| The charset to use for file logging (if `LOG_FILE` is enabled).
|
||||
|
||||
| configprop:logging.pattern.level[]
|
||||
| `LOG_LEVEL_PATTERN`
|
||||
| The format to use when rendering the log level (default `%5p`).
|
||||
|
||||
Reference in New Issue
Block a user