public interface CommonLogMBean extends LogFileMBean
Configures the basic configuration for the logging system.
Modifier and Type | Field and Description |
---|---|
static String |
STDOUT_NOID
Format of messages logged to the console in WLS 6.
|
static String |
STDOUT_STANDARD
Default format of messages logged to the console
|
DEFAULT_FILE_NAME, MAX_ROTATED_FILES, NONE, SIZE, TIME, TIME_FORMAT
DEFAULT_EMPTY_BYTE_ARRAY
Modifier and Type | Method and Description |
---|---|
String |
getLogFileSeverity()
The minimum severity of log messages going to the
server log file.
|
String |
getLoggerSeverity()
The minimum severity of log messages going to all log destinations.
|
Properties |
getLoggerSeverityProperties()
The configuration of the different logger severities keyed by name.
|
String |
getStdoutFormat()
The output format to use when logging to the console.
|
String |
getStdoutSeverity()
The minimum severity of log messages going to the
standard out.
|
boolean |
isStdoutLogStack()
Specifies whether to dump stack traces to the console when
included in logged message.
|
void |
setLogFileSeverity(String severity) |
void |
setLoggerSeverity(String severity) |
void |
setLoggerSeverityProperties(Properties props) |
void |
setStdoutFormat(String format)
Sets the value of the StdoutFormat attribute.
|
void |
setStdoutLogStack(boolean stack)
Sets the value of the StdoutLogStack attribute.
|
void |
setStdoutSeverity(String severity) |
getBufferSizeKB, getDateFormatPattern, getFileCount, getFileMinSize, getFileName, getFileTimeSpan, getLogFileRotationDir, getRotateLogOnStartup, getRotationTime, getRotationType, isNumberOfFilesLimited, setBufferSizeKB, setDateFormatPattern, setFileCount, setFileMinSize, setFileName, setFileTimeSpan, setFileTimeSpanFactor, setLogFileRotationDir, setNumberOfFilesLimited, setRotateLogOnStartup, setRotationTime, setRotationType
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
getAttribute, getAttributes, invoke, setAttribute, setAttributes
postDeregister, postRegister, preDeregister, preRegister
addNotificationListener, getNotificationInfo, removeNotificationListener
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
static final String STDOUT_STANDARD
static final String STDOUT_NOID
String getLoggerSeverity()
The minimum severity of log messages going to all log destinations.
void setLoggerSeverity(String severity)
Properties getLoggerSeverityProperties()
The configuration of the different logger severities keyed by name. The values are one of the predefined Severity strings namely Emergency, Alert, Critical, Error, Warning, Notice, Info, Debug, Trace.
void setLoggerSeverityProperties(Properties props)
String getLogFileSeverity()
The minimum severity of log messages going to the server log file. By default all messages go to the log file.
void setLogFileSeverity(String severity)
String getStdoutSeverity()
The minimum severity of log messages going to the standard out. Messages with a lower severity than the specified value will not be published to standard out.
void setStdoutSeverity(String severity)
String getStdoutFormat()
The output format to use when logging to the console.
void setStdoutFormat(String format)
Sets the value of the StdoutFormat attribute.
format
- The new stdoutFormat valueCommonLogMBean.getStdoutFormat()
boolean isStdoutLogStack()
Specifies whether to dump stack traces to the console when included in logged message.
void setStdoutLogStack(boolean stack)
Sets the value of the StdoutLogStack attribute.
stack
- The new stdoutLogStack valueCommonLogMBean.isStdoutLogStack()