Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.management.configuration
Interface CommonLogMBean

All Superinterfaces:
ConfigurationMBean, DescriptorBean, DynamicMBean, LogFileMBean, MBeanRegistration, NotificationBroadcaster, SettableBean, WebLogicMBean
All Known Subinterfaces:
LogMBean

public interface CommonLogMBean
extends LogFileMBean

Configures the basic configuration for the logging system.


Field Summary
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

 

Fields inherited from interface weblogic.management.configuration.LogFileMBean
DEFAULT_FILE_NAME, MAX_ROTATED_FILES, NONE, SIZE, TIME, TIME_FORMAT

 

Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY

 

Method Summary
abstract  String getLogFileSeverity()
          The minimum severity of log messages going to the server log file.
abstract  String getLoggerSeverity()
          The minimum severity of log messages going to all log destinations.
abstract  Properties getLoggerSeverityProperties()
          The configuration of the different logger severities keyed by name.
abstract  String getStdoutFormat()
          The output format to use when logging to the console.
abstract  String getStdoutSeverity()
          The minimum severity of log messages going to the standard out.
abstract  boolean isStdoutLogStack()
          Specifies whether to dump stack traces to the console when included in logged message.
abstract  void setLogFileSeverity(String severity)
           
abstract  void setLoggerSeverity(String severity)
           
abstract  void setLoggerSeverityProperties(Properties props)
           
abstract  void setStdoutFormat(String format)
          Sets the value of the StdoutFormat attribute.
abstract  void setStdoutLogStack(boolean stack)
          Sets the value of the StdoutLogStack attribute.
abstract  void setStdoutSeverity(String severity)
           

 

Methods inherited from interface weblogic.management.configuration.LogFileMBean
getBufferSizeKB, getDateFormatPattern, getFileCount, getFileMinSize, getFileName, getFileTimeSpan, getLogFileRotationDir, getRotateLogOnStartup, getRotationTime, getRotationType, isNumberOfFilesLimited, setBufferSizeKB, setDateFormatPattern, setFileCount, setFileMinSize, setFileName, setFileTimeSpan, setFileTimeSpanFactor, setLogFileRotationDir, setNumberOfFilesLimited, setRotateLogOnStartup, setRotationTime, setRotationType

 

Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet

 

Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent

 

Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes

 

Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister

 

Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener

 

Methods inherited from interface weblogic.descriptor.DescriptorBean
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener

 

Field Detail

STDOUT_STANDARD

static final String STDOUT_STANDARD
Default format of messages logged to the console
See Also:
Constant Field Values

STDOUT_NOID

static final String STDOUT_NOID
Format of messages logged to the console in WLS 6. Does not include message id in output.
See Also:
Constant Field Values

Method Detail

getLoggerSeverity

String getLoggerSeverity()

The minimum severity of log messages going to all log destinations.

Since:
9.2.0.0

setLoggerSeverity

void setLoggerSeverity(String severity)

getLoggerSeverityProperties

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.

Since:
10.3.0.0

setLoggerSeverityProperties

void setLoggerSeverityProperties(Properties props)

getLogFileSeverity

String getLogFileSeverity()

The minimum severity of log messages going to the server log file. By default all messages go to the log file.

Since:
9.0.0.0

setLogFileSeverity

void setLogFileSeverity(String severity)

getStdoutSeverity

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.

Since:
9.0.0.0

setStdoutSeverity

void setStdoutSeverity(String severity)

getStdoutFormat

String getStdoutFormat()

The output format to use when logging to the console.

Returns:
The stdoutFormat value
Since:
9.0.0.0

setStdoutFormat

void setStdoutFormat(String format)

Sets the value of the StdoutFormat attribute.

Parameters:
format - The new stdoutFormat value
See Also:
CommonLogMBean.getStdoutFormat()

isStdoutLogStack

boolean isStdoutLogStack()

Specifies whether to dump stack traces to the console when included in logged message.

Returns:
The stdoutLogStack value
Since:
9.0.0.0

setStdoutLogStack

void setStdoutLogStack(boolean stack)

Sets the value of the StdoutLogStack attribute.

Parameters:
stack - The new stdoutLogStack value
See Also:
CommonLogMBean.isStdoutLogStack()

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09