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_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 |
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(org.springframework.core.env.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_LOG_PATTERN
public static final String FILE_MAX_HISTORY
public static final String FILE_MAX_SIZE
public static final String LOG_LEVEL_PATTERN
public static final String LOG_DATEFORMAT_PATTERN
public LoggingSystemProperties(org.springframework.core.env.Environment environment)
LoggingSystemProperties
instance.environment
- the source environmentpublic void apply()
public void apply(LogFile logFile)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.