From a05b2207f87f5f8bfc6723233a9541edc605b64d Mon Sep 17 00:00:00 2001 From: Guillaume Husta Date: Tue, 26 Oct 2021 12:18:17 +0200 Subject: [PATCH 1/2] Fix description of "logging.logback.rollingpolicy.max-history" See gh-28448 --- .../META-INF/additional-spring-configuration-metadata.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-boot-project/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 99a602166145..51af5bdd3a25 100644 --- a/spring-boot-project/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-boot-project/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -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 }, From 265199f42b1093a026c2e903f15c6f6b7bab52aa Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Thu, 28 Oct 2021 11:50:38 +0200 Subject: [PATCH 2/2] Polish "Fix description of "logging.logback.rollingpolicy.max-history"" See gh-28448 --- .../src/docs/asciidoc/spring-boot-features.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc index 2e3b5ae222b7..fc35081ee2e8 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc @@ -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). |===