From 2dee5b2a6ed910be3ac9a6fba76d19323859dcb5 Mon Sep 17 00:00:00 2001 From: hojooo Date: Tue, 2 Dec 2025 13:44:44 +0900 Subject: [PATCH] Fix Log4J2 rolling policy metadata ordering Signed-off-by: hojooo --- ...itional-spring-configuration-metadata.json | 42 +++++++++---------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/core/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/core/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 7a704c13f9a..97d7cb4d31a 100644 --- a/core/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/core/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -146,27 +146,6 @@ "sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener", "defaultValue": false }, - { - "name": "logging.log4j2.rollingpolicy.strategy", - "type": "java.lang.String", - "description": "Rolling policy strategy. Supported values are 'size', 'time', 'size-and-time', and 'cron'.", - "sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener", - "defaultValue": "size" - }, - { - "name": "logging.log4j2.rollingpolicy.time-based.interval", - "type": "java.lang.Integer", - "description": "Time based triggering interval when the strategy is 'time' or 'size-and-time'.", - "sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener", - "defaultValue": 1 - }, - { - "name": "logging.log4j2.rollingpolicy.time-based.modulate", - "type": "java.lang.Boolean", - "description": "Whether to align the next rollover time to occur at the top of the interval when the strategy is time based.", - "sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener", - "defaultValue": false - }, { "name": "logging.log4j2.rollingpolicy.cron.schedule", "type": "java.lang.String", @@ -194,6 +173,27 @@ "sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener", "defaultValue": 7 }, + { + "name": "logging.log4j2.rollingpolicy.strategy", + "type": "java.lang.String", + "description": "Rolling policy strategy. Supported values are 'size', 'time', 'size-and-time', and 'cron'.", + "sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener", + "defaultValue": "size" + }, + { + "name": "logging.log4j2.rollingpolicy.time-based.interval", + "type": "java.lang.Integer", + "description": "Time based triggering interval when the strategy is 'time' or 'size-and-time'.", + "sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener", + "defaultValue": 1 + }, + { + "name": "logging.log4j2.rollingpolicy.time-based.modulate", + "type": "java.lang.Boolean", + "description": "Whether to align the next rollover time to occur at the top of the interval when the strategy is time based.", + "sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener", + "defaultValue": false + }, { "name": "logging.log4j2.rollingpolicy.total-size-cap", "type": "org.springframework.util.unit.DataSize",