Class LogbackLoggingSystemProperties
java.lang.Object
org.springframework.boot.logging.LoggingSystemProperties
org.springframework.boot.logging.logback.LogbackLoggingSystemProperties
LoggingSystemProperties for Logback.- Since:
- 2.4.0
- Author:
- Phillip Webb
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringThe name of the System property that contains the clean history on start flag.static final StringThe name of the System property that contains the rolled-over log file name pattern.static final StringThe name of the System property that contains the file log max size.static final StringThe name of the System property that contains the file log max history.static final StringThe name of the System property that contains the file total size cap.Fields inherited from class org.springframework.boot.logging.LoggingSystemPropertiesCONSOLE_LOG_CHARSET, CONSOLE_LOG_PATTERN, EXCEPTION_CONVERSION_WORD, FILE_LOG_CHARSET, FILE_LOG_PATTERN, LOG_DATEFORMAT_PATTERN, LOG_FILE, LOG_LEVEL_PATTERN, LOG_PATH, PID_KEY
- 
Constructor SummaryConstructorsConstructorDescriptionLogbackLoggingSystemProperties(Environment environment) LogbackLoggingSystemProperties(Environment environment, BiConsumer<String, String> setter) Create a newLogbackLoggingSystemPropertiesinstance.
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidapply(LogFile logFile, PropertyResolver resolver) protected CharsetMethods inherited from class org.springframework.boot.logging.LoggingSystemPropertiesapply, apply, setSystemProperty, setSystemProperty, setSystemProperty
- 
Field Details- 
ROLLINGPOLICY_FILE_NAME_PATTERNThe name of the System property that contains the rolled-over log file name pattern.- See Also:
 
- 
ROLLINGPOLICY_CLEAN_HISTORY_ON_STARTThe name of the System property that contains the clean history on start flag.- See Also:
 
- 
ROLLINGPOLICY_MAX_FILE_SIZEThe name of the System property that contains the file log max size.- See Also:
 
- 
ROLLINGPOLICY_TOTAL_SIZE_CAPThe name of the System property that contains the file total size cap.- See Also:
 
- 
ROLLINGPOLICY_MAX_HISTORYThe name of the System property that contains the file log max history.- See Also:
 
 
- 
- 
Constructor Details- 
LogbackLoggingSystemProperties
- 
LogbackLoggingSystemPropertiesCreate a newLogbackLoggingSystemPropertiesinstance.- Parameters:
- environment- the source environment
- setter- setter used to apply the property
- Since:
- 2.4.3
 
 
- 
- 
Method Details- 
getDefaultCharset- Overrides:
- getDefaultCharsetin class- LoggingSystemProperties
 
- 
apply- Overrides:
- applyin class- LoggingSystemProperties
 
 
-