|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LogConfiguration
The LogConfiguration describes the current configuration of the system logger.
The log configuration is used to filter on log contexts (components) and log levels (severity).
Field Summary | |
---|---|
static int |
CRITICAL
Message level value that specifies that critical messages are to be recorded. |
static int |
DETAIL
Message level value that specifies that detailed, information, warning, error and critical messages are to be recorded. |
static int |
ERROR
Message level value that specifies that error messages and critical messages are to be recorded. |
static int |
INFO
Message level value that specifies that information, warning, error and critical messages are to be recorded. |
static int |
NONE
Message level value that specifies that no messages are to be recorded. |
static int |
TRACE
Message level value that specifies that all messages are to be recorded. |
static int |
WARNING
Message level value that specifies that warning, error and critical messages are to be recorded. |
Method Summary | |
---|---|
java.util.Set<java.lang.String> |
getContexts()
Obtain the set of message contexts that are currently used. |
int |
getLogLevel(java.lang.String context)
Get the current configured Log Level for supplied context |
void |
setLogLevel(java.lang.String context,
int logLevel)
Set the Log Level Note: Must call setLogConfiguration(LogConfiguration) for log level to take affect on the server. |
Field Detail |
---|
static final int NONE
static final int CRITICAL
static final int ERROR
static final int WARNING
static final int INFO
static final int DETAIL
static final int TRACE
Method Detail |
---|
int getLogLevel(java.lang.String context)
context
-
MessageLevel
java.util.Set<java.lang.String> getContexts()
void setLogLevel(java.lang.String context, int logLevel)
context
- log context namelogLevel
- The logLevel to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |