RollingPolicySystemProperty Type — spring-boot Architecture
Architecture documentation for the RollingPolicySystemProperty type/interface in RollingPolicySystemProperty.java from the spring-boot codebase.
Entity Profile
Source Code
core/spring-boot/src/main/java/org/springframework/boot/logging/logback/RollingPolicySystemProperty.java lines 27–75
public enum RollingPolicySystemProperty {
/**
* Logging system property for the rolled-over log file name pattern.
*/
FILE_NAME_PATTERN("file-name-pattern"),
/**
* Logging system property for the clean history on start flag.
*/
CLEAN_HISTORY_ON_START("clean-history-on-start"),
/**
* Logging system property for the file log max size.
*/
MAX_FILE_SIZE("max-file-size"),
/**
* Logging system property for the file total size cap.
*/
TOTAL_SIZE_CAP("total-size-cap"),
/**
* Logging system property for the file log max history.
*/
MAX_HISTORY("max-history");
private final String environmentVariableName;
private final String applicationPropertyName;
RollingPolicySystemProperty(String applicationPropertyName) {
this.environmentVariableName = "LOGBACK_ROLLINGPOLICY_" + name();
this.applicationPropertyName = "logging.logback.rollingpolicy." + applicationPropertyName;
}
/**
* Return the name of environment variable that can be used to access this property.
* @return the environment variable name
*/
public String getEnvironmentVariableName() {
return this.environmentVariableName;
}
String getApplicationPropertyName() {
return this.applicationPropertyName;
}
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free