BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.management.configuration
Interface DomainLogFilterMBean


public interface DomainLogFilterMBean
extends ConfigurationMBean

This MBean represents a filter to qualify log messages which are logged to the domain logfile. A message must qualify all criteria specified to qualify the filter. Multiple instances of this MBean can be defined, if needed. If there are multiple instances, a message must qualify atleast one filter to qualify for the domain logfile.

Author:
Copyright © 2002 BEA Systems, Inc. All Rights Reserved.

Field Summary
static int ALERT
          Description of the Field
static long CACHING_STUB_SVUID
          Description of the Field
static int CRITICAL
          Description of the Field
static int EMERGENCY
          Description of the Field
static int ERROR
          Description of the Field
static int INFO
          Description of the Field
static int NOTICE
          Description of the Field
static int WARNING
          Description of the Field
 
Fields inherited from class weblogic.management.configuration.ConfigurationMBean
CACHING_STUB_SVUID
 
Method Summary
 int getSeverityLevel()
          The minimum severity of a message that this filter forwards to the domain log.
 java.lang.String[] getSubsystemNames()
          The subsystems for which this filter can forward messages to the domain log.
 java.lang.String[] getUserIds()
          The user IDs for which associated messages are sent to the domain log.
 void setSeverityLevel(int severityLevel)
          Sets the severityLevel attribute of the DomainLogFilterMBean object
 void setSubsystemNames(java.lang.String[] subsystemList)
          The subsystems for which this filter can forward messages to the domain log.
 void setUserIds(java.lang.String[] userIdList)
          The user IDs for which associated messages are sent to the domain log.
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getNotes, restoreDefaultValue, setComments, setDefaultedMBean, setNotes, setPersistenceEnabled
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Field Detail

CACHING_STUB_SVUID

public static final long CACHING_STUB_SVUID
Description of the Field

INFO

public static final int INFO
Description of the Field

WARNING

public static final int WARNING
Description of the Field

ERROR

public static final int ERROR
Description of the Field

NOTICE

public static final int NOTICE
Description of the Field

CRITICAL

public static final int CRITICAL
Description of the Field

ALERT

public static final int ALERT
Description of the Field

EMERGENCY

public static final int EMERGENCY
Description of the Field
Method Detail

getSeverityLevel

public int getSeverityLevel()
The minimum severity of a message that this filter forwards to the domain log. All messages with the specified severity and higher will be sent to the domain log. The ascending order of severities is as follows:

Default Value: weblogic.logging.Severities.WARNING
Legal Values: INFO, WARNING, ERROR, NOTICE, CRITICAL, ALERT, EMERGENCY
Returns:
The severityLevel value
See Also:
Severities

setSeverityLevel

public void setSeverityLevel(int severityLevel)
                      throws javax.management.InvalidAttributeValueException,
                             DistributedManagementException
Sets the severityLevel attribute of the DomainLogFilterMBean object

Parameters:
severityLevel - The new severityLevel value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception
DistributedManagementException - Description of the Exception

getSubsystemNames

public java.lang.String[] getSubsystemNames()
The subsystems for which this filter can forward messages to the domain log. If no subsystems are chosen, then the filter sends messages from all subsystems.

Returns:
The subsystemNames value

setSubsystemNames

public void setSubsystemNames(java.lang.String[] subsystemList)
                       throws javax.management.InvalidAttributeValueException,
                              DistributedManagementException
The subsystems for which this filter can forward messages to the domain log. If no subsystems are chosen, then the filter sends messages from all subsystems.

A dynamic MBean attribute
Parameters:
subsystemList - The new subsystemNames value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception
DistributedManagementException - Description of the Exception

getUserIds

public java.lang.String[] getUserIds()
The user IDs for which associated messages are sent to the domain log. Every message includes the user ID from the security context in which the message was generated. You can create a filter that forwards only the messages that are associated with one or more user IDs.

If no IDs are specified, messages from all user IDs can be sent to the domain log.

Returns:
The userIds value

setUserIds

public void setUserIds(java.lang.String[] userIdList)
                throws javax.management.InvalidAttributeValueException,
                       DistributedManagementException
The user IDs for which associated messages are sent to the domain log. Every message includes the user ID from the security context in which the message was generated. You can create a filter that forwards only the messages that are associated with one or more user IDs.

If no IDs are specified, messages from all user IDs can be sent to the domain log.

A dynamic MBean attribute
Parameters:
userIdList - The new userIds value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception
DistributedManagementException - Description of the Exception

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs81b