类 LoggingSystemProperties
- java.lang.Object
- org.springframework.boot.logging.LoggingSystemProperties
public class LoggingSystemProperties extends Object
Utility to set system properties that can later be used by log configuration files.- 从以下版本开始:
- 2.0.0
字段概要
字段 修饰符和类型 字段 说明 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.
构造器概要
构造器 构造器 说明 LoggingSystemProperties(org.springframework.core.env.Environment environment)
Create a newLoggingSystemProperties
instance.
字段详细资料
PID_KEY
public static final String PID_KEY
The name of the System property that contains the process ID.- 另请参阅:
- 常量字段值
EXCEPTION_CONVERSION_WORD
public static final String EXCEPTION_CONVERSION_WORD
The name of the System property that contains the exception conversion word.- 另请参阅:
- 常量字段值
LOG_FILE
public static final String LOG_FILE
The name of the System property that contains the log file.- 另请参阅:
- 常量字段值
LOG_PATH
public static final String LOG_PATH
The name of the System property that contains the log path.- 另请参阅:
- 常量字段值
CONSOLE_LOG_PATTERN
public static final String CONSOLE_LOG_PATTERN
The name of the System property that contains the console log pattern.- 另请参阅:
- 常量字段值
FILE_LOG_PATTERN
public static final String FILE_LOG_PATTERN
The name of the System property that contains the file log pattern.- 另请参阅:
- 常量字段值
FILE_MAX_HISTORY
public static final String FILE_MAX_HISTORY
The name of the System property that contains the file log max history.- 另请参阅:
- 常量字段值
FILE_MAX_SIZE
public static final String FILE_MAX_SIZE
The name of the System property that contains the file log max size.- 另请参阅:
- 常量字段值
LOG_LEVEL_PATTERN
public static final String LOG_LEVEL_PATTERN
The name of the System property that contains the log level pattern.- 另请参阅:
- 常量字段值
LOG_DATEFORMAT_PATTERN
public static final String LOG_DATEFORMAT_PATTERN
The name of the System property that contains the log date-format pattern.- 另请参阅:
- 常量字段值
构造器详细资料
LoggingSystemProperties
public LoggingSystemProperties(org.springframework.core.env.Environment environment)
Create a newLoggingSystemProperties
instance.- 参数:
environment
- the source environment