Merge pull request #28448 from ghusta

* pr/28448:
  Polish "Fix description of "logging.logback.rollingpolicy.max-history""
  Fix description of "logging.logback.rollingpolicy.max-history"

Closes gh-28448
This commit is contained in:
Stephane Nicoll 2021-10-28 11:51:20 +02:00
commit e4c96b3684
2 changed files with 3 additions and 3 deletions

View File

@ -2197,7 +2197,7 @@ The following rotation policy properties are supported:
| The maximum amount of size log archives can take before being deleted.
| configprop:logging.logback.rollingpolicy.max-history[]
| The number of days to keep log archives (defaults to 7)
| The maximum number of archive log files to keep (defaults to 7).
|===

View File

@ -156,7 +156,7 @@
{
"name": "logging.file.max-history",
"type": "java.lang.Integer",
"description": "Maximum number of days archive log files are kept. Only supported with the default logback setup.",
"description": "Maximum number of archive log files to keep. Only supported with the default logback setup.",
"sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener",
"defaultValue": 7,
"deprecation": {
@ -194,7 +194,7 @@
{
"name": "logging.logback.rollingpolicy.max-history",
"type": "java.lang.Integer",
"description": "Maximum number of days archive log files are kept.",
"description": "Maximum number of archive log files to keep.",
"sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener",
"defaultValue": 7
},