| Modifier and Type | Field and Description |
|---|---|
static String |
DIR
Log files directory.
|
static String |
FILE_NAME
Log file name.
|
static LogLevel |
LEVEL
The log level.
|
static int |
MAX_FILE_SIZE
The max size of log file.
|
static int |
MAX_HISTORY_FILES
The max history log files.
|
static LogOutput |
OUTPUT
The log output.
|
static String |
PATTERN
The log patten.
|
| Constructor and Description |
|---|
Logging() |
public static String FILE_NAME
public static String DIR
WriterFactory.getLogWriter()public static int MAX_FILE_SIZE
public static int MAX_HISTORY_FILES
public static LogLevel LEVEL
public static LogOutput OUTPUT
public static String PATTERN
LogLevel %timestamp = The now() who format is
'yyyy-MM-dd HH:mm:ss:SSS' %class = SimpleName of TargetClass %msg = Message of user input %throwable =
Throwable of user input %agent_name = ServiceName of Agent Config.Agent.SERVICE_NAMEPatternLogger.DEFAULT_CONVERTER_MAPCopyright © 2019 The Apache Software Foundation. All rights reserved.