public class LogbackLoggingSystemProperties extends LoggingSystemProperties
LoggingSystemProperties for Logback.| Modifier and Type | Field and Description | 
|---|---|
static String | 
ROLLINGPOLICY_CLEAN_HISTORY_ON_START
The name of the System property that contains the clean history on start flag. 
 | 
static String | 
ROLLINGPOLICY_FILE_NAME_PATTERN
The name of the System property that contains the rolled-over log file name
 pattern. 
 | 
static String | 
ROLLINGPOLICY_MAX_FILE_SIZE
The name of the System property that contains the file log max size. 
 | 
static String | 
ROLLINGPOLICY_MAX_HISTORY
The name of the System property that contains the file log max history. 
 | 
static String | 
ROLLINGPOLICY_TOTAL_SIZE_CAP
The name of the System property that contains the file total size cap. 
 | 
CONSOLE_LOG_CHARSET, CONSOLE_LOG_PATTERN, EXCEPTION_CONVERSION_WORD, FILE_CLEAN_HISTORY_ON_START, FILE_LOG_CHARSET, FILE_LOG_PATTERN, FILE_MAX_HISTORY, FILE_MAX_SIZE, FILE_TOTAL_SIZE_CAP, LOG_DATEFORMAT_PATTERN, LOG_FILE, LOG_LEVEL_PATTERN, LOG_PATH, PID_KEY, ROLLING_FILE_NAME_PATTERN| Constructor and Description | 
|---|
LogbackLoggingSystemProperties(Environment environment)  | 
LogbackLoggingSystemProperties(Environment environment,
                              BiConsumer<String,String> setter)
Create a new  
LogbackLoggingSystemProperties instance. | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
apply(LogFile logFile,
     PropertyResolver resolver)  | 
protected Charset | 
getDefaultCharset()  | 
apply, apply, setSystemProperty, setSystemProperty, setSystemPropertypublic static final String ROLLINGPOLICY_FILE_NAME_PATTERN
public static final String ROLLINGPOLICY_CLEAN_HISTORY_ON_START
public static final String ROLLINGPOLICY_MAX_FILE_SIZE
public static final String ROLLINGPOLICY_TOTAL_SIZE_CAP
public static final String ROLLINGPOLICY_MAX_HISTORY
public LogbackLoggingSystemProperties(Environment environment)
public LogbackLoggingSystemProperties(Environment environment, BiConsumer<String,String> setter)
LogbackLoggingSystemProperties instance.environment - the source environmentsetter - setter used to apply the propertyprotected Charset getDefaultCharset()
getDefaultCharset in class LoggingSystemPropertiesprotected void apply(LogFile logFile, PropertyResolver resolver)
apply in class LoggingSystemProperties