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
2.4.x
Stephane Nicoll 3 years ago
commit e4c96b3684

@ -2197,7 +2197,7 @@ The following rotation policy properties are supported:
| The maximum amount of size log archives can take before being deleted. | The maximum amount of size log archives can take before being deleted.
| configprop:logging.logback.rollingpolicy.max-history[] | 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).
|=== |===

@ -156,7 +156,7 @@
{ {
"name": "logging.file.max-history", "name": "logging.file.max-history",
"type": "java.lang.Integer", "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", "sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener",
"defaultValue": 7, "defaultValue": 7,
"deprecation": { "deprecation": {
@ -194,7 +194,7 @@
{ {
"name": "logging.logback.rollingpolicy.max-history", "name": "logging.logback.rollingpolicy.max-history",
"type": "java.lang.Integer", "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", "sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener",
"defaultValue": 7 "defaultValue": 7
}, },

Loading…
Cancel
Save