public class LoggingSystemProperties extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONSOLE_LOG_PATTERN
The name of the System property that contains the console log pattern.
|
static String |
EXCEPTION_CONVERSION_WORD
The name of the System property that contains the exception conversion word.
|
static String |
FILE_CLEAN_HISTORY_ON_START
The name of the System property that contains the clean history on start flag.
|
static String |
FILE_LOG_PATTERN
The name of the System property that contains the file log pattern.
|
static String |
FILE_MAX_HISTORY
The name of the System property that contains the file log max history.
|
static String |
FILE_MAX_SIZE
The name of the System property that contains the file log max size.
|
static String |
FILE_TOTAL_SIZE_CAP
The name of the System property that contains the file total size cap.
|
static String |
LOG_DATEFORMAT_PATTERN
The name of the System property that contains the log date-format pattern.
|
static String |
LOG_FILE
The name of the System property that contains the log file.
|
static String |
LOG_LEVEL_PATTERN
The name of the System property that contains the log level pattern.
|
static String |
LOG_PATH
The name of the System property that contains the log path.
|
static String |
PID_KEY
The name of the System property that contains the process ID.
|
Constructor and Description |
---|
LoggingSystemProperties(Environment environment)
Create a new
LoggingSystemProperties instance. |
public static final String PID_KEY
public static final String EXCEPTION_CONVERSION_WORD
public static final String LOG_FILE
public static final String LOG_PATH
public static final String CONSOLE_LOG_PATTERN
public static final String FILE_CLEAN_HISTORY_ON_START
public static final String FILE_LOG_PATTERN
public static final String FILE_MAX_HISTORY
public static final String FILE_MAX_SIZE
public static final String FILE_TOTAL_SIZE_CAP
public static final String LOG_LEVEL_PATTERN
public static final String LOG_DATEFORMAT_PATTERN
public LoggingSystemProperties(Environment environment)
LoggingSystemProperties
instance.environment
- the source environmentpublic void apply()
public void apply(LogFile logFile)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.