Skip to content

Commit e4c96b3

Browse files
committed
Merge pull request spring-projects#28448 from ghusta
* pr/28448: Polish "Fix description of "logging.logback.rollingpolicy.max-history"" Fix description of "logging.logback.rollingpolicy.max-history" Closes spring-projectsgh-28448
2 parents 30a75e8 + 265199f commit e4c96b3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2197,7 +2197,7 @@ The following rotation policy properties are supported:
21972197
| The maximum amount of size log archives can take before being deleted.
21982198

21992199
| configprop:logging.logback.rollingpolicy.max-history[]
2200-
| The number of days to keep log archives (defaults to 7)
2200+
| The maximum number of archive log files to keep (defaults to 7).
22012201
|===
22022202

22032203

spring-boot-project/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
{
157157
"name": "logging.file.max-history",
158158
"type": "java.lang.Integer",
159-
"description": "Maximum number of days archive log files are kept. Only supported with the default logback setup.",
159+
"description": "Maximum number of archive log files to keep. Only supported with the default logback setup.",
160160
"sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener",
161161
"defaultValue": 7,
162162
"deprecation": {
@@ -194,7 +194,7 @@
194194
{
195195
"name": "logging.logback.rollingpolicy.max-history",
196196
"type": "java.lang.Integer",
197-
"description": "Maximum number of days archive log files are kept.",
197+
"description": "Maximum number of archive log files to keep.",
198198
"sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener",
199199
"defaultValue": 7
200200
},

0 commit comments

Comments
 (0)