Browse Source

Fix Log4J2 rolling policy metadata ordering

Signed-off-by: hojooo <ghwn5833@gmail.com>
pull/47260/head
hojooo 2 months ago
parent
commit
2dee5b2a6e
  1. 42
      core/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json

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

@ -146,27 +146,6 @@ @@ -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 @@ @@ -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",

Loading…
Cancel
Save